heal Heal the Game Object. This adds the given amount of health to the health property. Inherited
key : string | Phaser.RenderTexture |
moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list
[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.
outOfBoundsKill : boolean If this and the checkWorldBounds property are both set to true then the kill
[readonly] previousRotation : number The rotation the Game Object was in set to in the previous
game : Phaser.Game A reference to the currently running Game
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering.
Page 4 of 11