setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by
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
addChild(child) → {DisplayObject}
bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list
moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list
[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
preUpdate() → {boolean} Automatically called by World.preUpdate. Returns
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
body : Phaser.Physics.Arcade.Body |
left : number The left coordinate of the Game Object.This is the same as x - offsetX.
Page 10 of 11