File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -719,6 +719,38 @@ Phaser.Particles.Arcade.Emitter.prototype.at = function (object) {
719719
720720} ;
721721
722+ /**
723+ * @name Phaser.Particles.Arcade.Emitter#width
724+ * @property {number } width - Gets or sets the width of the Emitter. This is the region in which a particle can be emitted.
725+ */
726+ Object . defineProperty ( Phaser . Particles . Arcade . Emitter . prototype , "width" , {
727+
728+ get : function ( ) {
729+ return this . area . width ;
730+ } ,
731+
732+ set : function ( value ) {
733+ this . area . width = value ;
734+ }
735+
736+ } ) ;
737+
738+ /**
739+ * @name Phaser.Particles.Arcade.Emitter#height
740+ * @property {number } height - Gets or sets the height of the Emitter. This is the region in which a particle can be emitted.
741+ */
742+ Object . defineProperty ( Phaser . Particles . Arcade . Emitter . prototype , "height" , {
743+
744+ get : function ( ) {
745+ return this . area . height ;
746+ } ,
747+
748+ set : function ( value ) {
749+ this . area . height = value ;
750+ }
751+
752+ } ) ;
753+
722754/**
723755* @name Phaser.Particles.Arcade.Emitter#x
724756* @property {number } x - Gets or sets the x position of the Emitter.
You can’t perform that action at this time.
0 commit comments