function Room(x1, y1, x2, y2, doorX, doorY) {
      var _this11;
      _this11 = _Feature.call(this) || this;
      _this11._x1 = x1;
      _this11._y1 = y1;
      _this11._x2 = x2;
      _this11._y2 = y2;
      _this11._doors = {};
      if (doorX !== undefined && doorY !== undefined) {
        _this11.addDoor(doorX, doorY);
      }
      return _this11;
    }
@class Room
@augments ROT.Map.Feature
@param {int} x1
@param {int} y1
@param {int} x2
@param {int} y2
@param {int} [doorX]
@param {int} [doorY]