<constant> CREATURE : integer Game Object type.
args Properties: Name Type Description
ceil() Runs Math.ceil() on both the x and y values of this Rectangle. Source code:
cursor : DisplayObject The current
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
[readonly] length : integer Total number of children in this group, regardless of exists/alive
new TweenManager(game) Phaser.Game has a single instance of the TweenManager through which all Tween objects are created and updated
setTouchLock() Sets the Input Manager touch callback to be SoundManager.unlock.Required for iOS audio device unlocking. Mostly
checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
Page 89 of 100