alignTo(parent, position, offsetX, offsetY) → {Object}
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
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
anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top
sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display
Page 1 of 9