mirror of
https://github.com/photonstorm/phaser
synced 2024-12-25 04:23:30 +00:00
12 lines
181 B
JavaScript
12 lines
181 B
JavaScript
|
var SetOrigin = function (items, x, y)
|
||
|
{
|
||
|
for (var i = 0; i < items.length; i++)
|
||
|
{
|
||
|
items[i].setOrigin(x, y);
|
||
|
}
|
||
|
|
||
|
return items;
|
||
|
};
|
||
|
|
||
|
module.exports = SetOrigin;
|