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

21 lines
386 B
JavaScript
Raw Normal View History

/**
* [description]
*
* @function Phaser.Geom.Circle.Offset
* @since 3.0.0
*
* @param {Phaser.Geom.Circle} circle - [description]
* @param {number} x - [description]
* @param {number} y - [description]
* @return {Phaser.Geom.Circle} [description]
*/
2016-12-29 00:17:20 +00:00
var Offset = function (circle, x, y)
{
circle.x += x;
circle.y += y;
return circle;
};
module.exports = Offset;