mirror of
https://github.com/photonstorm/phaser
synced 2024-12-20 01:55:45 +00:00
11 lines
195 B
JavaScript
11 lines
195 B
JavaScript
var ToggleVisible = function (items)
|
|
{
|
|
for (var i = 0; i < items.length; i++)
|
|
{
|
|
items[i].visible = !items[i].visible;
|
|
}
|
|
|
|
return items;
|
|
};
|
|
|
|
module.exports = ToggleVisible;
|