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
kill() Kills the Bullet, freeing it up for re-use by the Weapon bullet pool.Also dispatches the Weapon.onKill signal
x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.
frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the
width : number The width of the sprite, setting this will actually modify the scale to achieve the value set
loadTexture(key, frame, stopAnimation) Changes the base texture the Game
transformCallbackContext : Object The context under which transformCallback is called.
game : Phaser.Game A reference to the currently running Game
angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values
setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
Page 7 of 11