Skip to content

Commit 7df02a4

Browse files
committed
Added 2 NOOPs instead of merging the whole mixins.
1 parent 5dffd80 commit 7df02a4

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

src/gameobjects/particles/ParticleEmitterManager.js

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ var Render = require('./ParticleManagerRender');
2222
* @constructor
2323
* @since 3.0.0
2424
*
25-
* @extends Phaser.GameObjects.Particles.Components.Alpha
2625
* @extends Phaser.GameObjects.Particles.Components.Depth
2726
* @extends Phaser.GameObjects.Particles.Components.Pipeline
28-
* @extends Phaser.GameObjects.Particles.Components.ScrollFactor
2927
* @extends Phaser.GameObjects.Particles.Components.Visible
3028
*
3129
* @param {Phaser.Scene} scene - The Scene to which this Emitter Manager belongs.
@@ -38,10 +36,8 @@ var ParticleEmitterManager = new Class({
3836
Extends: GameObject,
3937

4038
Mixins: [
41-
Components.Alpha,
4239
Components.Depth,
4340
Components.Pipeline,
44-
Components.ScrollFactor,
4541
Components.Visible,
4642
Render
4743
],
@@ -416,6 +412,30 @@ var ParticleEmitterManager = new Class({
416412
emitter.preUpdate(time, delta);
417413
}
418414
}
415+
},
416+
417+
/**
418+
* A NOOP method so you can pass an EmitterManager to a Container.
419+
* Calling this method will do nothing. It is intentionally empty.
420+
*
421+
* @method Phaser.GameObjects.Particles.ParticleEmitterManager#setAlpha
422+
* @private
423+
* @since 3.10.0
424+
*/
425+
setAlpha: function ()
426+
{
427+
},
428+
429+
/**
430+
* A NOOP method so you can pass an EmitterManager to a Container.
431+
* Calling this method will do nothing. It is intentionally empty.
432+
*
433+
* @method Phaser.GameObjects.Particles.ParticleEmitterManager#setScrollFactor
434+
* @private
435+
* @since 3.10.0
436+
*/
437+
setScrollFactor: function ()
438+
{
419439
}
420440

421441
});

0 commit comments

Comments
 (0)