code: function(width, height){
              this.map.setSize(width, height);
              var map = this.map;
              this.map.each(function(val, x, y){
                  if(val === void 0){
                      map.set(x, y, []);
                  }
              });
          }
docs: Sets the size of the map to manage objects within.
  @method setSize
  @param {Number} width - Width of current map in tiles.
  @param {Number} height - Height of current map in tiles.