loadTexture(key, frame, stopAnimation) Changes the base texture the Game
key : string | Phaser.RenderTexture |
resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering.
removeChildAt(index) → {DisplayObject}
removeChild(child) → {DisplayObject}
tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.
events : Phaser.Events All Phaser Game Objects
x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.
health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
Page 4 of 11