setSpacing(margin, spacing) Sets tile spacing and margins. Parameters
[readonly] rows The number of tile rows in the the tileset. Properties:
[readonly] destroyPhase : boolean As a Game Object runs through its destroy method this flag
getTileY(y) → {integer} Convert a pixel value to a tile coordinate. Parameters
getChildAt(index) → {DisplayObject}
setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
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
moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list
[readonly] left : number The x value in pixels. Source
loadTexture(key, frame, stopAnimation) Changes the base texture the Game
Page 19 of 25