setBounds(x, y, width, height) Updates the size of this physics world. Parameters
autofire : boolean Will this weapon auto fire? If set to true then a new bullet will be firedbased on the fireRate
trackSprite(sprite, offsetX, offsetY, trackRotation)
enableBody(object) Creates an Arcade Physics body on the given game object. A game object can only have 1 physics body active
renderBodyInfo(body, x, y, color) Render Sprite Body Physics Data as text. Parameters
[static] KILL_WORLD_BOUNDS : integer A bulletKillType constant that automatically
maxLevels : number Used by the QuadTree to set the maximum number of iteration levels.
[static] KILL_LIFESPAN : integer A bulletKillType constant that automatically
trackOffset : Phaser.Point The Track Offset is a Point
[static] TOP_BOTTOM : number A constant used for the sortDirection value.Use this if
Page 17 of 21