Weapon#bulletLifespan

bulletLifespan : number

If you've set bulletKillType to Phaser.Weapon.KILL_LIFESPAN this controls the amount
of lifespan the Bullets have set on launch. The value is given in milliseconds.
When a Bullet hits its lifespan limit it will be automatically killed.

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

Please login to continue.