drawRoundedRect(x, y, width, height, radius) Parameters Name Type Description
checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame
bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
updateLocalBounds() Update the bounds of the object Inherited From
boundsPadding : number The bounds' padding used for bounds calculation. Inherited
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
[readonly] renderOrderID : number The render order ID is used internally by the renderer and
beginFill(color, alpha) → {PIXI.Graphics}
Page 5 of 10