Group#forEachDead()

forEachDead(callback, callbackContext, args)

Call a function on each dead child in this group.

See forEach for details.

Parameters
Name Type Argument Default Description
callback function

The function that will be called for each applicable child. The child will be passed as the first argument.

callbackContext object

The context in which the function should be called (usually 'this').

args any <optional>
<repeatable>
(none)

Additional arguments to pass to the callback function, after the child item.

Source code: core/Group.js (Line 1827)
doc_phaser
2017-02-14 10:51:08
Comments
Leave a Comment

Please login to continue.