onFire : Phaser.Signal
The onFire Signal is dispatched each time Weapon.fire
is called, and a Bullet is
successfully launched. The callback is set two arguments: a reference to the bullet sprite itself,
and a reference to the Weapon that fired the bullet.
- Source code: plugins/weapon/WeaponPlugin.js (Line 306)
Please login to continue.