reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
alignTo(parent, position, offsetX, offsetY) → {Object}
tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this)
game : Phaser.Game A reference to the currently running Game
autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame
resizeFrame(parent, width, height) Resizes the Frame dimensions that the Game Object uses for rendering. You shouldn't normally
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
Page 1 of 9