Weapon#onKill

onKill : Phaser.Signal

The onKill Signal is dispatched each time a Bullet that is in-flight is killed. This can be the result
of leaving the Weapon bounds, an expiring lifespan, or exceeding a specified distance.
The callback is sent one argument: A reference to the bullet sprite itself.

Source code: plugins/weapon/WeaponPlugin.js (Line 315)
doc_phaser
2017-02-14 11:19:55
Comments
Leave a Comment

Please login to continue.