alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
[readonly] children : Array.<Displa
endFill() → {PIXI.Graphics}
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
left : number The left coordinate of the Game Object.This is the same as x - offsetX.
beginFill(color, alpha) → {PIXI.Graphics}
width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate
lineWidth : number The width (thickness) of any lines drawn. Inherited
Page 6 of 10