phaser/v3/src/geom/rectangle/Offset.js

10 lines
118 B
JavaScript
Raw Normal View History

2016-12-28 23:41:02 +00:00
var Offset = function (rect, x, y)
{
rect.x += x;
rect.y += y;
return rect;
};
module.exports = Offset;