phaser/v3/src/actions/Rotate.js

12 lines
178 B
JavaScript
Raw Normal View History

var Rotate = function (items, value)
{
for (var i = 0; i < items.length; i++)
{
items[i].rotation += value;
}
return items;
};
module.exports = Rotate;