mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Moved method
This commit is contained in:
parent
96c197d46a
commit
30fc7d5123
1 changed files with 13 additions and 13 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue