scrollFactorY : number Speed at which this layer scrolls vertically, relative to the camera (e.g. scrollFactorY of 0.5 scrolls
setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
hasTile(x, y, layer) → {boolean} Checks if there is a tile at the given location. Parameters
getChildAt(index) → {DisplayObject}
top : number The y coordinate of the Game Object.This is the same as y - offsetY.
[readonly] top : number The y value. Source
layer : Object The layer in the Tilemap data that this tile belongs to. Source
reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
tiles :array The super array of Tiles. Source code:
[readonly] z : number The z depth of this Game Object within its parent Group.No two
Page 17 of 25