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