kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate
removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.
width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list
getChildAt(index) → {DisplayObject}
world : Phaser.Point The world coordinates of this
[readonly] type : number The const type of this object.
key : string | Phaser.RenderTexture |
Page 3 of 6