public enum TilesetType extends Enum<TilesetType>
Enum Constant and 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...
|
Modifier and Type | Method and 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.
|
public static final TilesetType DEFAULT_DUNGEON
public static final TilesetType CAVES_LIMIT_CONNECTIVITY
public static final TilesetType CAVES_TINY_CORRIDORS
public static final TilesetType CORNER_CAVES
public static final TilesetType HORIZONTAL_CORRIDORS_A
public static final TilesetType HORIZONTAL_CORRIDORS_B
public static final TilesetType HORIZONTAL_CORRIDORS_C
public static final TilesetType LIMIT_CONNECTIVITY_FAT
public static final TilesetType LIMITED_CONNECTIVITY
public static final TilesetType MAZE_A
public static final TilesetType MAZE_B
public static final TilesetType OPEN_AREAS
public static final TilesetType REFERENCE_CAVES
public static final TilesetType ROOMS_AND_CORRIDORS_A
public static final TilesetType ROOMS_AND_CORRIDORS_B
public static final TilesetType ROOMS_LIMIT_CONNECTIVITY
public static final TilesetType ROUND_ROOMS_DIAGONAL_CORRIDORS
public static final TilesetType SIMPLE_CAVES
public static final TilesetType SQUARE_ROOMS_WITH_RANDOM_RECTS
public static TilesetType[] values()
for (TilesetType c : TilesetType.values()) System.out.println(c);
public static TilesetType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Tileset getTileset()
Tileset
corresponding to this type.public int environment()
Copyright © 2012–2016. All rights reserved.