Creature#lifespan
  • References/Game Development/Phaser/Game Objects/Creature

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'

2025-01-10 15:47:30
Creature#children
  • References/Game Development/Phaser/Game Objects/Creature

[readonly] children : Array.<Displa

2025-01-10 15:47:30
Creature#destroyPhase
  • References/Game Development/Phaser/Game Objects/Creature

[readonly] destroyPhase : boolean As a Game Object runs through its destroy method this flag

2025-01-10 15:47:30
Creature#key
  • References/Game Development/Phaser/Game Objects/Creature

key : string | Phaser.RenderTexture |

2025-01-10 15:47:30
Creature#setChildIndex()
  • References/Game Development/Phaser/Game Objects/Creature

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters

2025-01-10 15:47:30
Creature#reset()
  • References/Game Development/Phaser/Game Objects/Creature

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object

2025-01-10 15:47:30
Creature#moveDown()
  • References/Game Development/Phaser/Game Objects/Creature

moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list

2025-01-10 15:47:30
Creature#type
  • References/Game Development/Phaser/Game Objects/Creature

[readonly] type : number The const type of this object.

2025-01-10 15:47:30
Creature#revive()
  • References/Game Development/Phaser/Game Objects/Creature

revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object

2025-01-10 15:47:30
Creature#contains()
  • References/Game Development/Phaser/Game Objects/Creature

contains(child) → {Boolean} Determines whether the specified display object is a child of the D

2025-01-10 15:47:30