Moved method

This commit is contained in:
Richard Davey 2023-01-18 16:54:32 +00:00
parent 96c197d46a
commit 30fc7d5123

View file

@ -936,19 +936,6 @@ var ParticleEmitter = new Class({
this.scene.sys.updateList.remove(this);
},
/**
* Gets all active Particle Processors.
*
* @method Phaser.GameObjects.Particles.ParticleEmitter#getProcessors
* @since 3.60.0
*
* @return {Phaser.GameObjects.Particles.ParticleProcessor[]} - An array of active Particle Processors.
*/
getProcessors: function ()
{
return this.processors.getAll('active', true);
},
/**
* Merges configuration settings into the emitter's current settings.
*
@ -2019,6 +2006,19 @@ var ParticleEmitter = new Class({
return processor;
},
/**
* Gets all active Particle Processors.
*
* @method Phaser.GameObjects.Particles.ParticleEmitter#getProcessors
* @since 3.60.0
*
* @return {Phaser.GameObjects.Particles.ParticleProcessor[]} - An array of active Particle Processors.
*/
getProcessors: function ()
{
return this.processors.getAll('active', true);
},
/**
* Creates a new Gravity Well, adds it to this Emitter and returns a reference to it.
*