use of eidolons.game.battlecraft.logic.dungeon.location.LocationBuilder.ROOM_TYPE in project Eidolons by IDemiurge.
the class LE_MapMaster method newRoom.
public void newRoom(List<Coordinates> coordinates) {
ROOM_TYPE type = chooseRoomType();
if (type == null) {
return;
}
if (coordinates == null) {
coordinates = pickCoordinates();
}
MapZone zone = pickZone(coordinates);
MapBlock b = new MapBlock(getPlan().getBlocks().size(), BLOCK_TYPE.ROOM, zone, getPlan(), coordinates);
b.setRoomType(type);
addBlock(b);
}