phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
13 lines (12 loc) • 450 B
JavaScript
/**
* The returned value sets what the property will be at the START of the particle's life, on emit.
*
* @callback Phaser.Types.GameObjects.Particles.EmitterOpOnEmitCallback
* @since 3.0.0
*
* @param {Phaser.GameObjects.Particles.Particle} [particle] - The particle.
* @param {string} [key] - The name of the property.
* @param {number} [value] - The current value of the property.
*
* @return {number} The new value of the property.
*/