Package squidpony.squidgrid.mapping
Enum DungeonGenerator.FillEffect
- All Implemented Interfaces:
Serializable
,Comparable<DungeonGenerator.FillEffect>
,Constable
- Enclosing class:
- DungeonGenerator
public static enum DungeonGenerator.FillEffect extends Enum<DungeonGenerator.FillEffect>
The effects that can be applied to this dungeon. More may be added in future releases.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BOULDERS
Boulders strewn about open areas, represented by '#' and treated as wallsDOORS
Doors, represented by '+' for east-to-west connections or '/' for north-to-south ones.GRASS
Grass, represented by '"'ISLANDS
Islands of ground, '.', surrounded by shallow water, ',', to place in water at evenly spaced pointsTRAPS
Traps, represented by '^'WATER
Water, represented by '~' -
Method Summary
Modifier and Type Method Description static DungeonGenerator.FillEffect
valueOf(String name)
Returns the enum constant of this type with the specified name.static DungeonGenerator.FillEffect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WATER
Water, represented by '~' -
DOORS
Doors, represented by '+' for east-to-west connections or '/' for north-to-south ones. -
TRAPS
Traps, represented by '^' -
GRASS
Grass, represented by '"' -
BOULDERS
Boulders strewn about open areas, represented by '#' and treated as walls -
ISLANDS
Islands of ground, '.', surrounded by shallow water, ',', to place in water at evenly spaced points
-
-
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
-