phaser/src/gameobjects/particles/events/EXPLODE_EVENT.js
2023-01-02 17:36:27 +00:00

21 lines
771 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2013-2023 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Particle Emitter Explode Event.
*
* This event is dispatched when a Particle Emitter explodes a set of particles.
*
* Listen for it on a Particle Emitter Manager instance using `ParticleEmitterManager.on('explode', listener)`.
*
* @event Phaser.GameObjects.Particles.Events#EXPLODE
* @type {string}
* @since 3.60.0
*
* @param {Phaser.GameObjects.Particles.ParticleEmitter} emitter - A reference to the Particle Emitter that just completed.
* @param {Phaser.GameObjects.Particles.Particle} particle - The most recently emitted Particle.
*/
module.exports = 'explode';