kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive
game : Phaser.Game A reference to the currently running Game
resizeFrame(parent, width, height) Resizes the Frame dimensions that the Game Object uses for rendering. You shouldn't normally
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
Page 1 of 9