Enum TilesetType
- All Implemented Interfaces:
Serializable
,Comparable<TilesetType>
,Constable
public enum TilesetType extends Enum<TilesetType>
An enumeration of all the kinds of dungeon that DungeonBoneGen
knows how to draw already. Each value has a Javadoc description.
Created by Tommy Ettinger on 3/10/2015.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CAVES_LIMIT_CONNECTIVITY
A good general kind of cave, with long distances between merging paths.CAVES_TINY_CORRIDORS
Only usable if using Chebyshev distances; many connections are diagonal-only.CORNER_CAVES
Most parts of the cave are large and open, but tiny corridors link them, providing hiding places.DEFAULT_DUNGEON
A generally useful kind of dungeon for ruins or underground manufactured areas.HORIZONTAL_CORRIDORS_A
Very basic demo dungeon.HORIZONTAL_CORRIDORS_B
Slightly less basic demo dungeon.HORIZONTAL_CORRIDORS_C
A bit more complexity in this demo dungeon.LIMIT_CONNECTIVITY_FAT
A reference implementation of where you can place walls; mostly floor.LIMITED_CONNECTIVITY
A reference implementation of where you can place walls; mostly wall.MAZE_A
A generally good maze; MAZE_A and MAZE_B should both be interchangeable, but not on the same map.MAZE_B
A generally good maze; MAZE_A and MAZE_B should both be interchangeable, but not on the same map.OPEN_AREAS
A map that's less dungeon-like than the others, with lots of open space.REFERENCE_CAVES
An excellent natural cave style that looks worn down haphazardly, as by burrowing creatures or deep rivers.ROOMS_AND_CORRIDORS_A
Mostly open, kinda weird.ROOMS_AND_CORRIDORS_B
Mostly open, but with long corridors that should be a good fit for ranged combat.ROOMS_LIMIT_CONNECTIVITY
A nice old-school roguelike map, with thin corridors and rectangular rooms.ROUND_ROOMS_DIAGONAL_CORRIDORS
A thing of beauty.SIMPLE_CAVES
A more open cave, but portions of this may seem artificial.SQUARE_ROOMS_WITH_RANDOM_RECTS
Kinda... -
Method Summary
Modifier and Type Method Description int
environment()
Returns MixedGenerator.CAVE_FLOOR (which is 3) or MixedGenerator.ROOM_FLOOR (which is 1) based on whether this TilesetType predominantly generates caves or rooms.Tileset
getTileset()
static TilesetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TilesetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT_DUNGEON
A generally useful kind of dungeon for ruins or underground manufactured areas.
Example:
############################################################ ##..#####......#..###.......######...#####..........#.....## ##..#..........#............#######...########......##.....# ##.........#...#.......##...#....###..##............##.....# ##......#..#...........##.........##..##........#########..# ##..#####..#...........##.........##..##...######..........# #.....#....#...#.......##.........##............#..........# #.....#....#####..#######..##.....##............#.....###### ####..#....#......#####.....###...#....###......#.....###### ####..######......#####.....###.......####.....#####..###### ####..######......#####.....###......#####.....#####..###### ####..######......#.........#####...#####......####......### ##........##...####.............#..######......#...........# ##........##....#########.......#########......#...........# ##..##....##............#...##...###...######..#.....##....# #...##....##............#..###....##..................###..# #...##..............##..#..###.....#....................##.# ##..##..............##......###........######............### ##..##########..######......###........#############.....### ##..##...#####..######......#####.....##############.....### ##..##...#####..######......#####.....###..###########..#### ##..##...##........####.....#####.....###...#######.....#..# ##..##..###........#..##.....###.....##......######.....#..# ##..##.............#...##...........##..........##....###..# ##..##.............#....###........##...........##....#....# #............#######.....####..#####.........#........#....# #.........................###..####..........#.............# ######.................................##....#..##.........# ######..##############................###....#..###...#....# ######..###........###.....#####..############..############ ######..###........#####..#######..########.....############ #.......###..####..#####..#####....#.............########### #...............#..#####..#...#....#.......................# ##...#..........#..#...#..#...#..#############.............# ##..............#..#...#..#...#..#...............#.........# ##..............#......#..#...#..#...............#.........# ##..............#.........#.........##########...#.........# ##..#...######..####......#.........#............##........# ##......#####.....###..####..##..#..#............##........# ##......#####.....###........#####..######......#####.....## ##......########..###........###.....#####......########..## #.......#.....#...#####..######........#...................# #.......#.....#..........######........#...................# #...#...#..#..#..........##...#..####..#..###############..# #...#...#..#..#....####..##...#..#..#..#..##...............# #...#...#..#..###..####..##......#..#..#..##...............# #...#......#.......####..##......#........##..###########..# #...#......#.......####.......#..#........##..#............# ##..####...#.......####......##..#..########..#............# ##.....#####..############..###..#.....#####..######..###### ##.....#####..############..###..#.....#####..######..###### ##.......###.............#..###..#.....#####..######..##...# ####.....#...............#.......#..#..#####..#...##..##...# #####....#....##....#....#.......#..#..#####..#.......##..## ######...#...###.........#..######..########..#.......##..## #######..#...###.........#..###............#..#...........## #######......#####...#####..###............#..#...........## #######......#.......#......###.......###..#..#.......###### #######..#####.......#......###.......###..#..#..###.....### ############################################################
-
CAVES_LIMIT_CONNECTIVITY
A good general kind of cave, with long distances between merging paths.
Example:
############################################################ #.#########..##########...###..#########..########.######### #...######...........##...###..#######....#####......#####.# ##....###.............##...#......####.....###........###..# ####......########....#....................###......#......# #####...############......#................###.....###.....# #####..##############....#####........#...####....####...### ####...#############....###############...#####..########### ####...#############....###############....####...########## #####..#############...#################...####...######...# #..##..############...##################...####....####....# #...#..##########...........#############...####....##....## ##..#..#########.............###########.....##.....##....## ##.....########.....#####..#..####.................###....## ##......#######..###########...#..........###.......###....# ###.....#####...#############..........#########....###....# ###.....#####..###############......###########....#####...# ####...######..###############.################...######...# ####...#####...###############....###############..#######.# #####...####........##########....#######...........######.# #####...###.............#####......#####............#####..# ######...........###.....#.#.......#####..###......#######.# ######...........#######............###..########...#####..# #######..#.......#######.................##########..####..# ###########.....######...........##......#########...####..# ###########.....#####....##....########...######...######..# ############..#######...################..#####..#######...# #####################....###############...####.#######...## ######..#############....####....#######...####.#######....# ####.......##########....###.......#####...####..########..# #.............#######...####.......#####...####....###..#..# #......##...............####........###...####...........#.# #......######..........######.......##....####.............# #......######...#......######......###...#####...#########.# #.....#######..######...#####......##....######..########### #.....######...#######..#####..######....######..########### ###....#####...########..###.....#####...######..#########.# #........###...########...##......####...######..########..# #.........##....########..###......###....####.....######..# #........####...########..#........####....##.......####...# ####....#####...########..........######............###....# ###.....#####...######............#######............#.....# ##.....######..............#......######...#............##.# ##.....######...........#####....#######...##.........###### ##.....#####...#############....#######...######....######## ####..#######...############..#########....################# #......######...###....####..##########....################# #......#####....###..........#####.........########..#####.# #.....#######...##............###.........#######..........# ####...#####...###...###......###....#....#######..........# ######..####..#####..#######..##...####...######...###.....# #####...####...####...######.......####...######...###.....# ###...######...#####..#######.....####...#######..####.....# ##..#######...######..#######....####....#######..#####....# ##.#######...######....######....#####...########..######### ##.#######....#####....######....######..####.......######## ##..########..####......####......#####..#...........####### ##....###..#...####.....####......####...............####### #...........#...##.......###......####.......#..#....####### ############################################################
-
CAVES_TINY_CORRIDORS
Only usable if using Chebyshev distances; many connections are diagonal-only.
Example (made with DungeonGenerator, which only keeps one contiguous area, but doesn't use Chebyshev distance to determine what areas are contiguous):
############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ ############################################################ #######....################################################# ####.#...################################################### ####......################################################## ######....################################################## #####....################################################### #####....###..############################################## #............############################################### #.#####.###.################################################ #..########..#############.################################# ##..########.#########.##..################################# ###########...###.........################################## #########.....##...##.###..################################# ###########.........#.###.################################## ###########.####....######################################## ###########.###....######################################### ###############....###..#################################### ##############.........##################################### #################.###.###################################### #####################..##################################### ######################.##################################### ###############..####...#################################### ################........#################################### #####################.....################################## #####################.###################################### #####################..##################################### ############################################################ ############################################################ ############################################################ ############################################################
-
CORNER_CAVES
Most parts of the cave are large and open, but tiny corridors link them, providing hiding places.
Example:
############################################################ #....#######...###########.....##........###...##...####...# #.....######...###########....#####..#....##....#....##....# ###...##..#......#########...##########.........##.........# ####..............#..####...##########.........####......### ##..........................#####...#.........####...####### #.............####...........###............####.....####### #.............#######..##....##.............####....####...# #............###########.....##..........#######..######...# #............##########......##.........########..##..#....# #..............######.......####........########......#....# #...............#####.........##........########.....###...# #.....####..#....####..............##....######....####....# #...#########....###.........#.....###....####.....###.....# #...####.##.....####.........##....####............###.....# #....##...#.....####.........##..######...........####.....# #....##........######.......###########...........#####....# #....##......##########.......##########........#########..# #...###.......#######..........########..........#########.# #...####.......#######........########.............######..# #...###..##...########............####..............#.##...# #...###..##..##########...###......##...#.............#....# #....#...#...##...#..########......##...###...............## #...........##....#....#####...##......####..........#.##### #..........###.................##.....#####.........######## #...........#.................###.....####.........######### #...........#..................##.......#..........######### #...................................................######## #...............................................#....####..# #..###.......................##........###.....###...####..# #..###......#.............#.###........###....#####..###...# #.####......##............#######.....####....#####...##...# #.######.....#...##.....###########...######...###.........# ########.....#...####..############..#######..............## ######......###..################....#####...............### #.###.......####################......###...............#### #...........#####################........................### #.....##.....###################.........................### #....#####.......#############........###................### ##...#####........###########.....#..####...........#.....## ###...#####.......##########....########...........###.....# ####...####........###.###.....#########........#...##.....# ####...####...................#####.###...#######...#......# ####..######......#..........#####.......##########........# ####..#####......###..#........###......##########.........# ###...######..#########..................#######...........# ####...####..####...##....................#######..........# ###.....##...###.............#......##...##########........# ###.....##..###.............###.....##..#############......# ###.....##..###............####.....#...##...#....####...### ####.........###..........#####........##...............#### #.###.........######....#######.......###.................## #..###........#######.....######.......#...................# #..####......########...#########......#...................# #...###.....#########...########................##........## #............########..##########..............####......### #............#######....##....##.................#..#....### #.....##.....#######..........##.......#.....#......####..## #....#####..#####.....#................##....##....#####..## ############################################################
-
HORIZONTAL_CORRIDORS_A
Very basic demo dungeon.
Example:
############################################################ ###########............###........########################## ###########............###.............##################### ###########............#####...###.....##################### #......................#####...###.....##################### #.................................########################## #.................................########################## ###########.......................########################## ###########...............#######.########################## ###########...............#######.########################## ####################........#####.########################## ####################........################################ ######################......################################ #######################.....################################ #######################.....################################ #######################.....################################ ########################...################################# ##########...###########...................................# ##########...###########...................................# #..........................................................# #..........................##...##..######################## #..........................##...##.....##################### ##...########################...##.....##################### ##...########################...##.....##################### ##...########################...############################ ##.........##################...############################ ##.........##################...############################ ##.........##################...############################ ########...##################...############################ ########...##################...############################ ########..................................################## #.........................................################## #..........................................................# #..........############...#############....................# #######################...#############....................# #######################...################################## #.############..............################################ #.############..............################################ #.############..............################################ #.############..............################################ #.############..............################################ #.############............#####............................# #.#####################...#####............................# #.#####################...#####............................# #.#####################...#####..########################### #................................########################### #................................########################### #................................########################### ####################...##################################### ####################...##################################### ####################...##################################### ####################...##################################### ####################...##################################### ###########............##################################### ###########............##################################### ###########............##################################### #......................##################################### #..................................######################### #..................................######################### ############################################################
-
HORIZONTAL_CORRIDORS_B
Slightly less basic demo dungeon.
Example:
############################################################ ####################...######.....##################.......# #......................######..........#############.......# #......................######..........#######.............# #......................######..........#######.............# #############.....................############.............# #############..........................#######.............# #############..........................#######.............# #############.............######...........................# #############.............######..#........................# #############...............####..#........................# #############...............#######....#######.............# #################...........######.....#######......#####..# #######################.....######.....##################..# #######################.....######.....##################..# #######......##########.....######.....##################..# #######......##########.....######.....##################..# #######....................................................# #######....................................................# #######....................................................# #######......##########.....#...##.######################### #............##########.....#...##.....##################### #............##########.....#...##.....##################### #..............##############...##.....##################### ##########.....##############...############################ ##########.....##############...############################ ##########.....##############...############################ ##########.....##############...############################ ##########...#####.................................######### ##########...#####.................................######### ##########...#####.................................######### #.......##...#####...########...##############.............# #.........................#..........#########.............# #.........................#..........#########.............# #####.....................#..........#########......######## ######################....#..........###########....######## ######################....#..........###########......###### ######################....#..........###########......###### ################..........######################......###### ################..........#######################.....###### ################..........#######################.....###### ################..........#...........................###### ################..........#...........................###### ################.........##................................# #........................##...###########..................# #........................##...###########..................# #.....................#####...###########.............#...## ##########...######................######.............#...## #####........######................######.............#...## #####..........####....................##.............#...## #####..........#################.......################...## #####..........#################.......################...## ##########.....#################.......################...## ##########.....#################.......################...## ##########.....#################.......################...## ###########...##################.......################...## ###########...........................###########..........# ###########...........................###########..........# #.....................................###########..........# ############################################################
-
HORIZONTAL_CORRIDORS_C
A bit more complexity in this demo dungeon.
Example:
############################################################ ##########.....#############......#########....########...## ##########.....##############.....########......###.###...## ###########...#############.#.....#######.......##.........# ###########.......................###............#.........# ###########........................##......................# #..............................##..##......................# #.............##...#########..###......#...................# #.............##...##############......##..................# #####...########...###############.....##..................# #####...########...###############.....#...........#.......# #####...########...###############...###.....#...########..# #####...########...#################.###....##..#########..# #####...########.............############..###..########..## ####....########.............#####.######.####.##########..# ###....#########.............#####....##################...# ###...##########.............#####...###############.#.....# #............................#####.....######..............# #..........................................................# #...##.....................................................# #....###.....###...................................#...#...# #....####....#####################.....#...........#####...# #....###.....#######################...###.........####....# #....###.......#################.........##........##......# ##...###.......#################..........###########.....## ##...#.........#################..........###########....### ##..............##################.......############.....## ###...............##...###########.......############......# ###......#...#....##....##########.......############......# ###.....##...##...##.....#...............##############....# #......##....##...##.....................###############...# #......##....#.....#.....................##############....# #......##..................................................# ##.....##..................................................# ####..###..................................................# #########..###............#####...##################..##...# ###############...........#####...########################.# ##################.......######...########################.# ##################......#######...########################## ##################.....######.........###################### #################......####.#.........###################### ################......#####................................# ##.........#####......####.................................# ##.........#####.....###...................................# ##.........####.....###...............##############.......# #....................#................##############.......# #........................#.........#################.......# #........................#........##################.......# ##.........######.......########..##################.......# ##.........#######......########...#################.......# ##.........########.....########...#################.......# ###################.....########...#####################...# ####################...#########...######################### ##.........#########...########....######################### #.......................#######....######################### #.......................#####.....########################## #.................................########################## ##.........###......................######################## ##.........###......................######################## ############################################################
-
LIMIT_CONNECTIVITY_FAT
A reference implementation of where you can place walls; mostly floor.
Example:
############################################################ #.............................................#............# #.............................................#............# #.............................................#............# #.............................................#............# #.............................................#............# #.............................................#............# #.............................................#............# #.......##########.........#########..........#............# #.......#........#..........................#..............# #.......#...................................#..............# #.......#...................................#..............# #.......#...................................#..............# #.......#...................................#..............# #.......#...................................#..............# #.......#...................................#..............# #.......#...................................#..............# #.......#........###################........#..............# #.........................#..........................#.....# #....................................................#.....# #....................................................#....## #....................................................#....## #....................................................#....## #....................................................#....## #....................................................#.....# #....................................................#.....# #........#########...................................#.....# ##......#.................#........#.......................# ##......#.................#................................# ##......#.................#................................# ##......#.................#................................# ##......#.................#................................# ##......#.................#................................# ##......#.................#................................# ##......#.................#................................# ##......#.........#.......#........###################.....# #.......#........#.................#..........#............# #................#.................#..........#............# #................#.................#..........#............# #................#.................#..........#............# #................#.................#..........#............# #................#.................#..........#............# #................#.................#..........#............# #................#.................#..........#............# #................#.................#..........#............# #................#..........................#..............# #...........................................#..............# #...........................................#..............# #...........................................#..............# #...........................................#..............# #...........................................#..............# #...........................................#..............# #...........................................#..............# #########...................................#........####### #................#........#........#.......................# #................#........#........#.......................# #................#........#........#.......................# #................#........#........#.......................# #................#........#........#.......................# ############################################################
-
LIMITED_CONNECTIVITY
A reference implementation of where you can place walls; mostly wall.
Example:
############################################################ ######################.########.########.#################.# ######################.########.########.#################.# ######################.########.########.#################.# #..........................................................# ####.#################.#################.#################.# ####.#################.#################.#################.# ####.#################.#################.#################.# ####.#################.#################.#################.# ####.#################.#################.#################.# ####.#################.#################.#################.# ####.#################.#################.#################.# ####.#################.#######...#######.#######...#######.# #......................#######...........#######...###.....# #############.################...#######.#######...#######.# #############.##########################.########.########.# #############.##########################.########.########.# #############.##########################.########.########.# #############.##########################.########.########.# #############.##########################.########.########.# #############.##########################.########.########.# #############.##########################.########.########.# #.............########............................########.# ####.########.########.#################.########.########.# ####.########.########.#################.########.########.# ####.########.########.#################.########.########.# ####.########.########.#################.########.########.# ####.########.########.#################.########.########.# ####.########.########.#################.########.########.# ####.########.########.#################.########.########.# ####.########.########.#################.########.########.# #....########...................########.########..........# #############.#################.########.########.########## #############.#################.########.########.########## #############.#################.########.########.########## #############.#################.########.########.########## #############.#################.########.########.########## #############.#################.########.########.########## #############.#################.########.########.########## #############.#######...#######.########.########.########## ####..........#######......................................# ####.################...################.#################.# ####.###################################.#################.# ####.###################################.#################.# ####.###################################.#################.# ####.###################################.#################.# ####.###################################.#################.# ####.###################################.#################.# ####.###################################.#################.# #.............########...................########..........# #############.########.########.########.########.########## #############.########.########.########.########.########## #############.########.########.########.########.########## #############.########.########.########.########.########## #############.########.########.########.########.########## #############.########.########.########.########.########## #############.########.########.########.########.########## #############.########.########.########.########.########## ####..........########.########.########...................# ############################################################
-
MAZE_A
A generally good maze; MAZE_A and MAZE_B should both be interchangeable, but not on the same map.
Example:
############################################################ #..................##...........#......##..##...#......##### #..................##...........#......##..##...#......##### #..##..##########..######..######..######..##..######..##### #..##..##########..######..######..######..##..######..##### #..##......##..........##..............##......##......##### #..##......##..........##..............##......##......##### #..######..##..######..######..######..######..##..######### #..######..##..######..######..######..######..##..######### #..##..................##..........##..........#.......##..# #..##..................##..........##..........#.......##..# #..######..######..######..######..##################..##..# #..######..######..######..######..##################..##..# #..................##..........##..........##..............# #..................##..........##..........##..............# #..##########..######..##################..##..############# #..##########..######..##################..##..############# #..##..........##..##..##..................................# #..##..........##..##..##..................................# #..##..##..######..##..##..######..##..######..##..######### #..##..##..######..##..##..######..##..######..##..######### #......##..............##..##..................##..........# #......##..............##..##..................##..........# #####..##..######..######..##########..##..##..##..######### #####..##..######..######..##########..##..##..##..######### #......##......##..##..........#...................##......# #......##......##..##..........#...................##......# #..##########..##..##########..##..##..##..##..######..##..# #..##########..##..##########..##..##..##..##..######..##..# #..##......##..............##..##...............#......##..# #..##......##..............##..##...............#......##..# #####..##..######..######..######..######..##..######..##### #####..##..######..######..######..######..##..######..##### #......##......##..##..........##......##..##..##..........# #......##......##..##..........##......##..##..##..........# #..##########..##..##..##############..##..##..##..######..# #..##########..##..##..##############..##..##..##..######..# #..................##..##......................##..##......# #..................##..##......................##..##......# #####..##############..##..##############..######..##..##### #####..##############..##..##############..######..##..##### #......##..........##......##..............##......##......# #......##..........##......##..............##......##......# #..######..######..######..##..######..##..##..######..##..# #..######..######..######..##..######..##..##..######..##..# #......##......##..##..........##......##......##......##..# #......##......##..##..........##......##......##......##..# #####..######..##..##..##########..##########..##..######..# #####..######..##..##..##########..##########..##..######..# #..........##..##..##..##..............##......##......##..# #..........##..##..##..##..............##......##......##..# #..##..##..##..##..##..##..##########..##..##########..##..# #..##..##..##..##..##..##..##########..##..##########..##..# #..##..##......##......##......##......##..........##......# #..##..##......##......##......##......##..........##......# #..##..######################..##..######..######..##..##..# #..##..######################..##..######..######..##..##..# #..##..............##..........##..##......######......##..# #..##..............##..........##..##......######......##..# ############################################################
-
MAZE_B
A generally good maze; MAZE_A and MAZE_B should both be interchangeable, but not on the same map.
Example:
############################################################ #......##..##..##......##..##...#......##......##......##..# #......##..##..##......##..##...#......##......##......##..# #####..##..##..######..##..##..##..##..######..##..######..# #####..##..##..######..##..##..##..##..######..##..######..# #..........##......##..........##..##......................# #..........##......##..........##..##......................# #####..##########..######..######..##########..######..##..# #####..##########..######..######..##########..######..##..# #......##..............##..........##..........#.......##..# #......##..............##..........##..........#.......##..# #..##..######..##########..##..######..........##########..# #..##..######..##########..##..######..........##########..# #..##......##..##..........##..##...............#......##..# #..##......##..##..........##..##...............#......##..# #..##########..##..######..##..##..##..........##..##..##### #..##########..##..######..##..##..##..........##..##..##### #..............##..##......##..#...................##......# #..............##..##......##..#...................##......# #########..######..##..######..##..##..........##########..# #########..######..##..######..##..##..........##########..# #..........##..................##......................##..# #..........##..................##......................##..# #..######..##..##########..######..##..##..##########..##..# #..#....#..##..##########..######..##..##..##########..##..# #..#....#......##......##..........##..##..........##..##..# #..#....#......##......##..........##..##..........##..##..# #..........######..##..######..##..##..##..##..##..##..##..# #..........######..##..######..##..##..##..##..##..##..##..# #..#....#..##......##......##..........##......##..........# #..#....#..##......##......##..........##......##..........# #..#....#..##..##..######..##########..##..##..##..######### #..######..##..##..######..##########..##..######..######### #..............##..##..........##..........##......##......# #..............##..##..........##..........##......##......# #################..##..######..##..##..######..######..##### #################..##..######..##..##..######..######..##### #......##......##..........##......##......##......##......# #......##......##..........##......##......##......##......# #####..##..##..##########..######..######..######..##..##### #####..##..##..##########..######..######..######..##..##### #..##......##......##..............##..........##..........# #..##......##......##..............##..........##..........# #..##..######..##..##..##############..##..##..######..##..# #..##..######..##..##..##############..##..##..######..##..# #......##......##......##......##......##..##..##......##..# #......##......##......##......##......##..##..##......##..# #########..##############..##..######..######..##..######..# #########..##############..##..######..######..##..######..# #..........##......##......##..........##..........##......# #..........##......##......##..........##..........##......# #########..##..##..##..##..##########..##..######..##..##### #########..##..##..##..##..##########..##..######..##..##### #..............##......##......##......##......##......##..# #..............##......##......##......##......##......##..# #..##########################..##..######..##..######..##..# #..##########################..##..######..##..######..##..# #......##############..........##..........##..............# #......##############..........##..........##..............# ############################################################
-
OPEN_AREAS
A map that's less dungeon-like than the others, with lots of open space.
Example:
############################################################ ###...#######.....######.............................####..# ###...#######.....######.............................####..# ###....######........................................####..# ###.....#####........................................####..# ###......#####...............#######......######.....####..# ###.......#####.............########......######.....####..# #...........................########.......................# #...........................########.......................# #......########.............########.......................# #......########.............########.......................# #......########.............########.......................# #......########.................####.......................# #......##################..................................# #......##################.....................##...........# #.......#################.....................###..........# #........################...............##########.........# ##........###############...............##########...#####.# ###.............###########.............##########...#####.# ####............###########....####.....##########...#####.# #####..........................####.....##########...#####.# ######.........................####.....##########...#####.# ######.........................####.....##########...#####.# ######.........................####.....##########...#####.# #.............................................###....#####.# #.............................................##...........# #..........................................................# #..........................................................# #.............###########............................####..# #.............###########...........................#####..# ####..........###########..............#######.....######..# ####..........###########......#####...#######.....######..# ####..........###########......#####...#######.....######..# ####..........###########......#####...#######.....######..# ####..........###########......#####...#######.....######..# #.............###########..........................######..# #.............###########..................................# #.........................................######...........# #.........................................######...........# #.........................................######...........# #.........................................######...........# #.............####..........########......######...........# #.............####..........########......######...........# #.............####..........########......######...........# #.............####..........########......######...........# #.............####..........########......######...........# #.............####..........########.......................# #.............####..........########.......................# #.............####.........................................# #..........................................................# #####...............######.................................# #####...............######.................................# #####...............######.............########............# #####...............######.............########......#####.# #####...............######.............########......#####.# #####...............######.............########......#####.# #####...............######.............########......#####.# ####..................##...............########........###.# ###...................##................................##.# ############################################################
-
REFERENCE_CAVES
An excellent natural cave style that looks worn down haphazardly, as by burrowing creatures or deep rivers.
Example:
############################################################ #........####.....#####....#########......######..........## #.................####....##########......######..........## #........................###########......######...........# #.........................................######...........# #.........................................######...........# ###.......................................######...........# ###........................................................# ###......######............................................# ###......######..........####..............................# ###......######..........####..............................# ###......######..........####.......####...................# ###......######.........#####.......####...................# ###......######........####.........####...................# ###......######.......####..........####...................# #........######.......###...........####...................# #........#####........###..........#####...................# #........####........####....###########.......############# #...................#####...##########.........############# #..................######...#########..........############# #.######..........#######...#########..........############# #.######..........#######...#########..........############# #.######..........#######...#########..........############# #.######..........#######...#########..........############# #.######..........#######...#########..........############# #.######..........#######......................############# #.######..........#######................................### #.######..........#######................................### #..####...........#######................................### #..####......................########....................### #..####......................########..........####......### #..####......................########..........####......### #..####......................########..........####......### #..####......................########..........####........# #.#####......................########..........####........# #####..........###...........########..........####........# ####...........####..........########..........####........# ###............#####..........#######.............##.....### ###.............#######........######..............##....### ###....#####.....#######........#####...............######## ###...#######.....#######............................####### ###...#######.....########...........................####### ###...#######.....#########..........................####### ###...#######.....##########.........................####### ###...#######.....##########.........................####### ###...#######.....##########.........................####### ###........................................................# ###........................................................# ###........................................................# ###......................................................### ###.................................#############........### #...................................#############........### #................#########..........#############........### #......#######...#########..........#############........### #......#######...#########..........#############..........# #......#######....########..........#############..........# #......#######.....#######..........#############..........# #......#######......................############...........# #......########.....................###########............# ############################################################
-
ROOMS_AND_CORRIDORS_A
Mostly open, kinda weird.
Example:
############################################################ #......##........##...#########...###..#...........###....## #......##........##...............###..#...........###....## #.###..##.........................###..#.......#..........## #.###..##.............#########...###..#.......#..........## #.###..##.............#########...###..#.......#......##...# #......##........##...#######..................###..####...# #......##........##...#######..................###..######## #.....#######...###...#######...........##########..######## #.....#######...###...#######...........##########..###...## #.....#######...###...#######...........######......###...## #.....#######...###.....................######......##.....# #...............###.........................##......##.....# #...............###..########................#......##.....# ######..........###..#########...##########.........##.....# ######.......######..#########...###########........##.....# ######.......######..#########...################...##.....# ######.......######..#########...####......######...###...## ######.......######..#########...####......######...###..### #...##.......######..#########...####......######...###...## #...##.........####.................................###...## #..............####.................................####..## #............######..#########...####......######...####..## #...######...######..#########...####......######.........## #...######..............######...####......######.........## #...######..............######...######...######....####..## #...######..............######...######...#####....#####..## #...######..............######...######...####....######..## #.......##..............######............####...#######..## #.......##................................####.............# #..........................................................# #....................................................##....# #............##..####..######........................##....# #.......##...##..##.......###..............###.......##....# #.......##...######.......###..............###.......##....# ####...###...######.......###..#########...###...######....# ####...###...######.......###..#########.........########### ####...###...######...#######..#########.........########### #......###...######........................................# #......###.................................................# #......####...........#######...................##..#####..# ##..#..#####..........##################........##..#####..# ##..#.....###...###...##################........#########..# ##..#.....###...###...######......######........#########..# ##..####..###...###...######......######...###..#########..# ##..#########...###...######......######...###..#########..# ##..##..#####...###...######......######...###..##.........# #...##..#####...###...######...............###..##.........# #...............#..........................###..##.........# #...............#.................######...###..##.........# #...............#.................######...###..##.........# #............####........###......####...........#.........# #............####........###......####...........#.........# #............##########..###...#######...........######..### #............##########..###...#######...........######..### #............##########..###...#######...........######...## #............######......##......................######...## #.............#####......##......................#######..## #..............####..######........###...........#######..## ############################################################
-
ROOMS_AND_CORRIDORS_B
Mostly open, but with long corridors that should be a good fit for ranged combat.
Example:
############################################################ ###########.....#####..#####..#######......####......####### ##.....####.....#####..#####..###....................##....# ##.....####.....###.......##..###....................##....# #####...........###.......##..###..##......####......##..### #...............###.......##..###..##......####......##..### #.........................##..###..##.................#....# #####................##..###..##...##.................#....# #####..################..###.......##......####......##..### #####..################..###.......##..################...## #####..######........##..###..##...##..################....# #####.......#........##..###..###..##..####................# #####.......#........##..###..###..##..####...............## #####..###..#........##..###..###..##..####..#..#######...## #####..###..#........##..###..###..##..####..#..#######....# #####..###..####..#####.......###..##..####..#..######.....# #####..###....................###..##..####..#..######.....# #####..###...............#######...##..####..#..########..## #........####....###############..###..####..#..############ #........#.......##.........####..###..####..#......###....# #..####..#.......##.........####..###..####..#.............# #..####..#.......##..#####..####.......####..#####.........# #..####..###..#####..#####..####.......####..#####..###....# #..####..#...........#####..####..###..####..#####..###....# #........#...........#####........###..####..#####..###....# #........#.......##..#####........###........#####..###....# #####..###.......##..################........#####..###....# #####..###.......##..#################..#########...###..### ##.....#####..#####......#########.......#######....###....# ##.....#####..#####......................######.....###....# ##.....###.......######.............................###....# #......###.......######..###..####...............#..###....# #......###.......######..###..####.......#########..###....# #................######..###..####.......#########..###....# #...........##..#######..###..####################..###....# ##############..#######..###..####################..###....# ##############..######...###..####################..###....# #.................###....###..##########........##..###....# #.................##.....###..###......#........##..###..### #........................###..###......#........##..###..### #.....................#..###..###..##..#........##..###..### #.................#####..###..###..##..#........##..###..### #.................#####..###..###..##..####..#####.......### #.................#####..###..##...##....................### #.................#####..###.......##...............######## #####..################..###.......######..################# #####..###......####......##..##...######..###.............# #####.....................##..###..######..###.............# #####.....................##..###..######..###..############ #####..###......####......##..###..######..###..#.....#....# #####..###......####......##..###..######.............#....# #####..###....................###..######..........#.....### #####..###....................###..######..###..####.....### #####..###......####......######...######..###..############ #........#..####################..#######..###..############ #........#..#######.................#####..###..############ #..####..#....#.....................#####..###..############ #..####..#....#............................###..############ #..####..#....#...#........................###..############ ############################################################
-
ROOMS_LIMIT_CONNECTIVITY
A nice old-school roguelike map, with thin corridors and rectangular rooms.
Example:
############################################################ ######################.#######.#########.########.#######.## ######################.#######.#########.########.#######.## ######################.#######.#########.########.#######.## #....########...................#######..########..........# ####.########.########.########.#######.#########.########.# ####.########.########.########.#######.#########.########.# ####.########.########.########.#######.#########.########.# ####.########.########.########.#######.#########.########.# ####.#####.......#####.########.#######.#########.########.# ####.#####.......#####.########.#######.#########.########.# ####.#####.......#####.########.#######.#########.########.# ####.#####.......#####.########.#######.#########.########.# #........................................#######...........# ##########.......##############.########.#######.#########.# ##########.......##############.########.#######.#########.# #############.#################.########.#######.#########.# #############.#################.#####.......####.#########.# #############.#################.#####.......####.########### #############.####........#####.#####.......####.########### ###########......#........#####.#####.......####.########### ###########......#........#####.#####.......####.########### #................#........#####...###.............#######..# ####.######......#........#######.###.......#####.#######.## ####.######......#........#######.###.......#####.#######.## ####.########.####........#######.######.########.#######.## ####.########.####........#######.######.########.#######.## ####.########.#######.###########.######.########.#######.## ####.########.#######.######.......#####.########.#####....# #.......#####.#######.######.......#####.########.#####....# #.......#####.#######.######.......#####.########.#####....# #.......#####............................########..........# #.......#####.##############.......##############.#####....# #.......#####.##############.......##############.#####....# ######.######.#################.#################.#####....# ######.######.#################.#################.########## ######.######.#################.#################.########## ######.######.#################.######.........##.########## #####..........################.######.........##.########## #####..........################.######.........##.########## ###............#######..........######.........##.########## ###.#..........#######.########.######.........##.########## ###.#..........#######.########.######.........##.########## ###.##################.########.######.........##.########## ###.##################.########.#######.#########.########## ###.##################.########.#######.#########.########## ###.##################.########.#######.#########.########## #......###############.########.#######.#########.########## #......###############.########.#####.......#####.########## #......#####................................####..########## #......#####.########################.......####.########### #......#####.########################.......####.########### #......#####.########################.......####.########### #......#####.########################.......####.########### #......#####.########################.......####.########### ####.#######.########################.......####.########### ####.#######.########################.......####.########### ####.#######.########################.......####.########### ####...................##########..........................# ############################################################
-
ROUND_ROOMS_DIAGONAL_CORRIDORS
A thing of beauty. Good for maps that need to seem otherworldly or unusual, like heavenly planes.
Example:
############################################################ #####....#...#########....###########....#######.....####### #####..........#######....############...######.......###### ######..........######....############....####.........##### #######.........#######...#########.......####.........##### ######...........######....######.........###..........##### ######...........#######...###.#...........##..........##### ######...........#######....##.............#.............### #.#####.........########......................#............# #...##..........########.....................###...........# #....#.........##########....................########......# #........#...###########....................############..## #.......################....................################ #......################.......#............########...###### #......################.......#............######.......#### #......################...................######.........### #......################..................######...........## #.....#################................########...........## #.....###############...............##########.............# #....##############................###########.............# #....###########..................##.....####..............# #.....#########.................###.......##...............# ##.....#######...............#####.........................# ##.......####.......##......##..##............##...........# ###........#....######.....###...............####..........# ##.............#######.....###..............#######........# #.............########....####.............#########.....### #............########....#####............##########....#### #.............#######....#####...........##########....##### #.............######....######..........##########....###### #.............#####....############.....#########....####### #.............####......#########.........#####.....######## #............#####........######...........###.......####### #............####............##.............#.........###### #...........####..............#.............#.........###### #...........###....######.............................###### #..##........#....#########...........................###### #.#######.........###########..........................##### ########........##############...............#..........##.# ########.......###############...............##............# ########......#################.............########.......# ########.....##################.............#########......# #######....#####################...........###########.....# ######....#######################.........###########......# #####....##########################.....#############......# ###.....############......##########....#############......# #.........#########........##########....############......# #..........#######..........#########.....############.....# #...........######..........#########.....############.....# #...........######...........#########.....##########......# #.............####............########.....##########......# #..............###.............########....#########.......# #...............##..............#######.....#######......### #................##........##....######........##......##### #............#............####....######..............###### #...........###.......#########.....####.............####### #...........####.....###########.....##..............####### #..........######.....##########....................######## #.........#########....##########...................######## ############################################################
-
SIMPLE_CAVES
A more open cave, but portions of this may seem artificial. Consider alternating with REFERENCE_CAVES .
Example:
############################################################ ####......#######......###########....##########....######## ####.......#####........##########.....#########.....#...### ##.........#####........###########.....########.....#...### #..........######...........######........#####............# #...###########....###.......####...........##.....#.......# #......#######.....###........##...................#.......# #........####......###........##..................##.......# #........####....####........................##..####......# #..........###..####.........................########......# #....#......########........##...............##########....# ##..##......######.......#####.............####....#####..## #####.......######......######.........########.....######## ####......########.....#########.....#########........###### ####...############..#########################.........##### ####...############..############.......######...........### ###.....###########..##########..........#######.........### ###.....#########....#....#####...........#######........### ###.....###..####.........######..........########.......### ####.....#....#...........#####............####..........### ###................#......#####.............###.........#### ###................#.......#.........................####### #..............#######.................................##### #......###.....#########................................#..# #.....####....##########...................................# #.....####...##########.......#............###.............# #......##....########.......####..........####.............# #............#######........#####.......#######............# #....#.......######....#..#######.....###########........### ######......#######...##########......#############..####### ######......#######...##########......#############..####### ########...#######....##########......#########.......###### ##################......###..##.....#####..............##### #################...#........##.....###...........##.....### ##...############...##........#....###.........######.....## #......###....##...#####......#....###.....############....# #..................#####...........###.....#####...#####...# #................#######.........#####....###.......#####..# #...##....#....#########..........####.....#........#####..# ######...###..#####...##..........####..............#####..# ######...#######.......###...#.....####.........########...# ####.....#######........#######....####........#######.....# ####.....########.......#######....######..........#.......# ###.....#########........#######.....#######...............# ##.....###########.......#########...############.......#### ###....###########.......#########...############..######### #.........########......#########.....###########..........# #..........#.######....##########......#########...........# #.............#####...###########......#########...........# #.............####...##.....#####......#########....#####..# #.............###.....#......#####......#######.....######## #.............................#####.......#........#######.# #.............................########.............######..# #..................###.........#######..............###....# #....................###........#..#######.................# #............####......##...........#####...##...##........# #............####.......#..........#####...########........# #..........#..####......##...#.##...####...#########.......# ###......####.####......#########....###...########.....#### ############################################################
-
SQUARE_ROOMS_WITH_RANDOM_RECTS
Kinda... not the best map. Very predictable.
Example:
############################################################ #......#.......#.......####..#..#####.........##...........# #......#.......#.......###.......####.........##...........# #......................###.......####.........##....###....# #..................................................#####...# #..................................................#####...# #......#.......#...................................#####...# #......#.......#.......###.......####.........##....###....# #......#.......#.......###.......####.........##...........# ##########################.......####.........##...........# ############################...#########...#####...........# ############################...#########...################# #.........####.......####.........##...........#...........# #.........###.........###.........##...........#...........# #.........##...........##.........##...........#...........# #.........##...........##...#.#...##...........#...........# #............................#.........#####...............# #...........................###........#####........###....# #............................#.........#####...............# #.........##...........##...#.#...##...#####...#...........# #.........##...........##.........##...#####...#...........# #.........###.........###.........##...#####...#...........# ####...#######.......###############...#####...#...........# ####...#########################################....###....# ###.....####...........#.......#.......#.......#...........# ##.......###...........#.......#.......#.......#...........# #.........##...........#.......#.......#.......#...........# #..........#....###....#.......................#...........# #..............#####.......................................# #..............#####................................###....# #..............#####...........#.......#...................# #..........#....###....#.......#.......#.......#...........# #.........##...........#.......#.......#.......#...........# ##.......###...........#########################...........# ###.....####...........#########################...........# ####...#########...######################################### #.........######...######.........##...........###.......### #.#.....#.###.........###.........##...........##.........## #.........###.........###.........##..#..#..#..#...........# #.........###.........###.........##...#.#.#...#...........# #..........................................................# #.....................................##...##..............# #..........................................................# #.........###.........###.........##...#.#.#...#...........# #.........###.........###.........##..#..#..#..#...........# #.#.....#.###.........###.........##...........##.........## #.........##################...#####...........###.......### ####...#####################...############################# ####................#######.....####...........#...........# ###..................#####.......###...........#.....#.....# ##....................###.........##...........#..#..#..#..# ##........####........##...........#...........#.....#.....# #.....############...................................#.....# #....##############..............................#########.# #.....############...................................#.....# ##........####........##...........#...........#.....#.....# ##....................###.........##...........#..#..#..#..# ###..................#####.......###...........#.....#.....# ####................#######.....####...........#...........# ############################################################
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTileset
- Returns:
- The
Tileset
corresponding to this type.
-
environment
Returns MixedGenerator.CAVE_FLOOR (which is 3) or MixedGenerator.ROOM_FLOOR (which is 1) based on whether this TilesetType predominantly generates caves or rooms. This is relevant for certain feature placement.- Returns:
- 3 if this produces mostly caves, or 1 if it produces mostly rooms
-