Physics.P2.BodyDebug#callAllExists()

callAllExists(callback, existsValue, parameter)

Calls a function, specified by name, on all children in the group who exist (or do not exist).

After the existsValue parameter you can add as many parameters as you like, which will all be passed to the child callback.

Parameters
Name Type Argument Description
callback string

Name of the function on the children to call.

existsValue boolean

Only children with exists=existsValue will be called.

parameter any <repeatable>

Additional parameters that will be passed to the callback.

Inherited From
Source code: core/Group.js (Line 1454)
doc_phaser
2017-02-14 11:02:55
Comments
Leave a Comment

Please login to continue.