Enum Class DungeonProcessor.FillEffect
java.lang.Object
java.lang.Enum<DungeonProcessor.FillEffect>
com.github.yellowstonegames.place.DungeonProcessor.FillEffect
- All Implemented Interfaces:
Serializable, Comparable<DungeonProcessor.FillEffect>, Constable
- Enclosing class:
DungeonProcessor
The effects that can be applied to this dungeon. More may be added in future releases.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBoulders strewn about open areas, represented by '#' and treated as wallsGrass, represented by '"'Islands of ground, '.', surrounded by shallow water, ',', to place in water at evenly spaced pointsTraps, represented by '^'Water, represented by '~' -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DungeonProcessor.FillEffect[]The cached result ofvalues(), so you can avoid repeatedly allocatingFillEffect[]objects. -
Method Summary
Modifier and TypeMethodDescriptionstatic DungeonProcessor.FillEffectReturns the enum constant of this class with the specified name.static DungeonProcessor.FillEffect[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WATER
Water, represented by '~' -
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
-
-
Field Details
-
ALL
The cached result ofvalues(), so you can avoid repeatedly allocatingFillEffect[]objects. DO NOT MODIFY THIS ARRAY.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-