setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a
exists : boolean Controls if this Sprite is processed by the core Phaser game loops and Group loops.
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
[readonly] children : Array.<Displa
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list
tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this)
pendingDestroy : boolean A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic
update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate
Page 6 of 11