weapon(quantity, key, frame, group) → {Phaser.Weapon}
Weapons provide the ability to easily create a bullet pool and manager. Weapons fire Phaser.Bullet objects, which are essentially Sprites with a few extra properties.The Bullets are enabled for Arcade Physics. They do not currently work with P2 Physics. The Bullets are created inside of Weapon.bullets, which is a Phaser.Group instance. Anything youcan usually do with a Group, such as move it around the display list, iterate it, etc can be