World#addToHash()

addToHash(child) → {boolean}

Adds a child of this Group into the hash array.
This call will return false if the child is not a child of this Group, or is already in the hash.

Parameters
Name Type Description
child DisplayObject

The display object to add to this Groups hash. Must be a member of this Group already and not present in the hash.

Returns
boolean -

True if the child was successfully added to the hash, otherwise false.

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

Please login to continue.