You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -486,6 +496,8 @@ Phaser.Particles.Arcade.Emitter.prototype.flow = function (lifespan, frequency,
486
496
this.start(false,lifespan,frequency,quantity);
487
497
}
488
498
499
+
returnthis;
500
+
489
501
};
490
502
491
503
/**
@@ -497,6 +509,7 @@ Phaser.Particles.Arcade.Emitter.prototype.flow = function (lifespan, frequency,
497
509
* @param {number} [frequency=250] - Ignored if Explode is set to true. Frequency is how often to emit 1 particle. Value given in ms.
498
510
* @param {number} [quantity=0] - How many particles to launch. 0 = "all of the particles" which will keep emitting until Emitter.maxParticles is reached.
499
511
* @param {number} [forceQuantity=false] - If `true` and creating a particle flow, the quantity emitted will be forced to the be quantity given in this call. This can never exceed Emitter.maxParticles.
512
+
* @return {Phaser.Particles.Arcade.Emitter} This Emitter instance.
@@ -737,6 +762,8 @@ Phaser.Particles.Arcade.Emitter.prototype.setRotation = function (min, max) {
737
762
this.minRotation=min;
738
763
this.maxRotation=max;
739
764
765
+
returnthis;
766
+
740
767
};
741
768
742
769
/**
@@ -750,6 +777,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setRotation = function (min, max) {
750
777
* @param {number} [rate=0] - The rate (in ms) at which the particles will change in alpha from min to max, or set to zero to pick a random alpha between the two.
751
778
* @param {function} [ease=Phaser.Easing.Linear.None] - If you've set a rate > 0 this is the easing formula applied between the min and max values.
752
779
* @param {boolean} [yoyo=false] - If you've set a rate > 0 you can set if the ease will yoyo or not (i.e. ease back to its original values)
780
+
* @return {Phaser.Particles.Arcade.Emitter} This Emitter instance.
@@ -776,6 +804,8 @@ Phaser.Particles.Arcade.Emitter.prototype.setAlpha = function (min, max, rate, e
776
804
this.autoAlpha=true;
777
805
}
778
806
807
+
returnthis;
808
+
779
809
};
780
810
781
811
/**
@@ -791,6 +821,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setAlpha = function (min, max, rate, e
791
821
* @param {number} [rate=0] - The rate (in ms) at which the particles will change in scale from min to max, or set to zero to pick a random size between the two.
792
822
* @param {function} [ease=Phaser.Easing.Linear.None] - If you've set a rate > 0 this is the easing formula applied between the min and max values.
793
823
* @param {boolean} [yoyo=false] - If you've set a rate > 0 you can set if the ease will yoyo or not (i.e. ease back to its original values)
824
+
* @return {Phaser.Particles.Arcade.Emitter} This Emitter instance.
@@ -824,6 +855,8 @@ Phaser.Particles.Arcade.Emitter.prototype.setScale = function (minX, maxX, minY,
824
855
this.autoScale=true;
825
856
}
826
857
858
+
returnthis;
859
+
827
860
};
828
861
829
862
/**
@@ -832,6 +865,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setScale = function (minX, maxX, minY,
832
865
*
833
866
* @method Phaser.Particles.Arcade.Emitter#at
834
867
* @param {object|Phaser.Sprite|Phaser.Image|Phaser.TileSprite|Phaser.Text|PIXI.DisplayObject} object - The object that you wish to match the center with.
868
+
* @return {Phaser.Particles.Arcade.Emitter} This Emitter instance.
0 commit comments