damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero
setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
top : number The y coordinate of the Game Object.This is the same as y - offsetY.
[readonly] deltaZ : number Returns the delta z value. The difference between rotation now
preUpdate() Automatically called by World.preUpdate. Source code:
[readonly] z : number The z depth of this Game Object within its parent Group.No two
[readonly] physicsType : number The const physics body type of this object.
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
outOfBoundsKill : boolean If this and the checkWorldBounds property are both set to true then the kill
frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the
Page 10 of 12