SpriteBatch#hasProperty()

hasProperty(child, key) → {boolean}

Checks if the child has the given property.

Will scan up to 4 levels deep only.

Parameters
Name Type Description
child any

The child to check for the existence of the property on.

key Array.<string>

An array of strings that make up the property.

Returns
boolean -

True if the child has the property, otherwise false.

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

Please login to continue.