Package squidpony.squidgrid.mapping
Enum SectionDungeonGenerator.FillEffect
java.lang.Object
java.lang.Enum<SectionDungeonGenerator.FillEffect>
squidpony.squidgrid.mapping.SectionDungeonGenerator.FillEffect
- All Implemented Interfaces:
Serializable,Comparable<SectionDungeonGenerator.FillEffect>,Constable
- Enclosing class:
- SectionDungeonGenerator
public static enum SectionDungeonGenerator.FillEffect extends Enum<SectionDungeonGenerator.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 BOULDERSBoulders strewn about open areas, represented by '#' and treated as wallsGRASSGrass, represented by '"'ISLANDSIslands of ground, '.', surrounded by shallow water, ',', to place in water at evenly spaced pointsTRAPSTraps, represented by '^'WATERWater, represented by '~' -
Method Summary
Modifier and Type Method Description static SectionDungeonGenerator.FillEffectvalueOf(String name)Returns the enum constant of this type with the specified name.static SectionDungeonGenerator.FillEffect[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
-