updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
removeChildAt(index) → {DisplayObject}
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
getClosestTo(object, callback, callbackContext) → {any}
hasProperty(child, key) → {boolean} Checks if the child has the given property. Will scan
frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.
setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero
Page 58 of 62