setBoundsToWorld() Updates the size of this physics world to match the size of the game world.
fireAtSprite(sprite) → {Phaser.Bullet}
fireLimit : number The maximum number of shots that this Weapon is allowed to fire before it stops.When the limit is his
bulletSpeedVariance : number This is a variance added to the speed of Bullets when they are fired.If bullets have a
destroy() Destroys this Weapon. It removes itself from the PluginManager, destroysthe bullets Group, and nulls internal references
reset(x, y) Resets all Body values (velocity, acceleration, rotation, etc) Parameters
overlapY : number When this body collides with another, the amount of overlap is stored here. The amount of vertical overlap during
[readonly] halfWidth : number The calculated width / 2 of the physics body.
y : number The y position. Source code:
angleToPointer(displayObject, pointer, world) → {number}
Page 6 of 21