phaser/v3/src/geom/ellipse/CopyFrom.js

6 lines
144 B
JavaScript

var CopyFrom = function (source, dest)
{
return dest.setTo(source.x, source.y, source.width, source.height);
};
module.exports = CopyFrom;