phaser/v3/src/actions/RandomTriangle.js

14 lines
247 B
JavaScript
Raw Normal View History

var Random = require('../geom/triangle/Random');
var RandomTriangle = function (items, triangle)
{
for (var i = 0; i < items.length; i++)
{
Random(triangle, items[i]);
}
return items;
};
module.exports = RandomTriangle;