mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 20:13:35 +00:00
12 lines
203 B
JavaScript
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;
|