centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
getChildIndex(child) → {Number} Returns the index position of a child DisplayObject instance
inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a
y : number The position of the Game Object on the y axis relative to the local coordinates of the parent.
exists : boolean Controls if this Sprite is processed by the core Phaser game loops and Group loops.
destroy(destroyChildren, destroyTexture) Destroys the Game Object. This
body : Phaser.Physics.Arcade.Body |
reset(x, y, health) → {Phaser
Page 9 of 11