phaser/v3/src/geom/rectangle/Offset.js
2016-12-28 23:41:02 +00:00

9 lines
118 B
JavaScript

var Offset = function (rect, x, y)
{
rect.x += x;
rect.y += y;
return rect;
};
module.exports = Offset;