code: function (settings) {
              // check if settings exists and create a dummy object if necessary
              settings = settings || {};
              var defaults = me.ParticleEmitterSettings;
  
              var width = (typeof settings.width === "number") ? settings.width : defaults.width;
              var height = (typeof settings.height === "number") ? settings.height : defaults.height;
              this.resize(width, height);
  
              Object.assign(this, defaults, settings);
  
              // reset particle container values
              this.container.reset();
          }
docs: Reset the emitter with default values.<br>
  @function
  @param {Object} settings [optional] object with emitter settings. See {@link me.ParticleEmitterSettings}
  @name reset
  @memberOf me.ParticleEmitter