mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
14 lines
242 B
JavaScript
14 lines
242 B
JavaScript
|
var Random = require('../geom/ellipse/Random');
|
||
|
|
||
|
var RandomEllipse = function (items, ellipse)
|
||
|
{
|
||
|
for (var i = 0; i < items.length; i++)
|
||
|
{
|
||
|
Random(ellipse, items[i]);
|
||
|
}
|
||
|
|
||
|
return items;
|
||
|
};
|
||
|
|
||
|
module.exports = RandomEllipse;
|