setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
outOfCameraBoundsKill : boolean If this and the autoCull property are both set to true, then the kill
setStyle(style, update) → {
cropRect : Phaser.Rectangle The Rectangle used
centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)
clearColors() → {Phaser.Text}
precalculateWordWrap(text) → {array} Runs the given text through the Text.runWordWrap function and
addColor(color, position) → {Phaser.Text}
pendingDestroy : boolean A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic
[readonly] deltaY : number Returns the delta y value. The difference between world.y now and
Page 11 of 15