mirror of
https://github.com/photonstorm/phaser
synced 2024-12-21 02:23:29 +00:00
13 lines
227 B
JavaScript
13 lines
227 B
JavaScript
var Random = require('../geom/line/Random');
|
|
|
|
var RandomLine = function (items, line)
|
|
{
|
|
for (var i = 0; i < items.length; i++)
|
|
{
|
|
Random(line, items[i]);
|
|
}
|
|
|
|
return items;
|
|
};
|
|
|
|
module.exports = RandomLine;
|