Phaser API Documentation

  Version: 
DEATH_ZONE

Description:

The Particle Emitter Death Zone Event.

This event is dispatched when a Death Zone kills a Particle instance.

Listen for it on a Particle Emitter instance using ParticleEmitter.on('deathzone', listener).

If you wish to know when the final particle is killed, see the COMPLETE event.

Parameters:

name type description
emitter Phaser.GameObjects.Particles.ParticleEmitter

A reference to the Particle Emitter that owns the Particle and Death Zone.

particle Phaser.GameObjects.Particles.Particle

The Particle that has been killed.

zone Phaser.GameObjects.Particles.Zones.DeathZone

The Death Zone that killed the particle.