phaser/v3/src/actions/SetOrigin.js

12 lines
181 B
JavaScript
Raw Normal View History

2017-03-28 23:12:33 +00:00
var SetOrigin = function (items, x, y)
{
for (var i = 0; i < items.length; i++)
{
items[i].setOrigin(x, y);
}
return items;
};
module.exports = SetOrigin;