phaser/v3/src/actions/ScaleXY.js
2017-03-28 14:30:43 +01:00

12 lines
203 B
JavaScript

var ScaleXY = function (items, x, y)
{
for (var i = 0; i < items.length; i++)
{
items[i].scaleX += x;
items[i].scaleY += y;
}
return items;
};
module.exports = ScaleXY;