loadTexture(key, frame, stopAnimation) Changes the base texture the Game
resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering.
overlap(displayObject) → {boolean} Checks to see if the bounds of this Game Object overlaps with
destroy(destroyChildren, destroyTexture) Destroys the Game Object. This
y : number The position of the Game Object on the y axis relative to the local coordinates of the parent.
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
transformCallbackContext : Object The context under which transformCallback is called.
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
Page 5 of 11