maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the
sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display
key : string | Phaser.RenderTexture |
alignIn(container, position, offsetX, offsetY)
animations : Phaser.AnimationManager
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
heal Heal the Game Object. This adds the given amount of health to the health property. Inherited
preUpdate() Automatically called by World.preUpdate. Source code:
kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive
Page 1 of 11