debug(x, y, debugBodies) Uses Game.Debug
y : number The y coordinate from which bullets are fired. This is the same as Weapon.fireFrom.y, andcan be overridden
bulletSpeed : number The speed at which the bullets are fired. This value is given in pixels per second, andis used to set
trackRotation : boolean If the Weapon is tracking a Sprite, should it also track the Sprites rotation?This is useful for
onFireLimit : Phaser.Signal The onFireLimit Signal
bulletAnimation : string The string based name of the animation that the Bullet will be given on launch.This is set via Weapon
forEach(callback, callbackContext, args) → {
addBulletAnimation(name, frames, frameRate, loop, useNumeri
bulletLifespan : number If you've set bulletKillType to Phaser.Weapon.KILL_LIFESPAN this controls the
[static] KILL_WEAPON_BOUNDS : integer A bulletKillType constant that automatically
Page 5 of 7