kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive
sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display
alignTo(parent, position, offsetX, offsetY) → {Object}
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
smoothed : boolean Enable or disable texture smoothing for this Game Object. It only takes effect if the Game Object is
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
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.
texture : PIXI.Texture The texture that the
Page 1 of 9