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#ignoreChildInput
  • References/Game Development/Phaser/Game Objects/Creature

ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children

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#children
  • References/Game Development/Phaser/Game Objects/Creature

[readonly] children : Array.<Displa

2025-01-10 15:47:30
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#type
  • References/Game Development/Phaser/Game Objects/Creature

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

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

name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant

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

debug : boolean A debug flag designed for use with Game.enableStep.

2025-01-10 15:47:30