centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)
reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.
top : number The y coordinate of the Game Object.This is the same as y - offsetY.
[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate
setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
scaleMax : Phaser.Point The maximum scale this Game
new LifeSpan() LifeSpan Component Features. Source code:
sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display
frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the
Page 8 of 9