mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 03:23:42 +00:00
12 lines
224 B
JavaScript
12 lines
224 B
JavaScript
|
var SetHitArea = function (items, hitArea, hitAreaCallback)
|
||
|
{
|
||
|
for (var i = 0; i < items.length; i++)
|
||
|
{
|
||
|
items[i].setHitArea(hitArea, hitAreaCallback);
|
||
|
}
|
||
|
|
||
|
return items;
|
||
|
};
|
||
|
|
||
|
module.exports = SetHitArea;
|