setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
new Bullet(game, x, y, key, frame) Create a new Bullet object. Bullets are used by the Phaser.Weapon class
[readonly] deltaY : number Returns the delta y value. The difference between world.y now and
y : number The position of the Game Object on the y axis relative to the local coordinates of the parent.
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
removeChildAt(index) → {DisplayObject}
frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the
preUpdate() → {boolean} Automatically called by World.preUpdate. Returns
x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.
Page 8 of 11