mirror of
https://github.com/photonstorm/phaser
synced 2025-01-08 19:28:57 +00:00
13 lines
187 B
JavaScript
13 lines
187 B
JavaScript
|
var SetXY = function (items, x, y)
|
||
|
{
|
||
|
for (var i = 0; i < items.length; i++)
|
||
|
{
|
||
|
items[i].x = x;
|
||
|
items[i].y = y;
|
||
|
}
|
||
|
|
||
|
return items;
|
||
|
};
|
||
|
|
||
|
module.exports = SetXY;
|