distanceToPointer(displayObject, pointer, world) → {number}
fireRate : number The rate at which this Weapon can fire. The value is given in milliseconds.
onFloor() → {boolean} Returns true if the bottom of this Body is in contact with either the world
y : number The y coordinate from which bullets are fired. This is the same as Weapon.fireFrom.y, andcan be overridden
isPaused : boolean If true the Body.preUpdate method will be skipped, halting all motion for all bodies
trackRotation : boolean If the Weapon is tracking a Sprite, should it also track the Sprites rotation?This is useful for
allowGravity : boolean Allow this Body to be influenced by gravity? Either world or local.
skipQuadTree : boolean If true and you collide this Sprite against a Group, it will disable the collision check from using a QuadTree
[static] KILL_STATIC_BOUNDS : integer A bulletKillType constant that automatically
fire(from, x, y) → {
Page 12 of 21