Enum SpiritFairyTree
- java.lang.Object
-
- java.lang.Enum<SpiritFairyTree>
-
- net.storm.api.movement.pathfinder.model.poh.SpiritFairyTree
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpiritFairyTree>
public enum SpiritFairyTree extends java.lang.Enum<SpiritFairyTree>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIRY_AND_SPIRIT
FAIRY_RING
NONE
SPIRIT_FAIRY_TREE
SPIRIT_TREE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpiritFairyTree
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpiritFairyTree[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SpiritFairyTree NONE
-
FAIRY_RING
public static final SpiritFairyTree FAIRY_RING
-
SPIRIT_TREE
public static final SpiritFairyTree SPIRIT_TREE
-
FAIRY_AND_SPIRIT
public static final SpiritFairyTree FAIRY_AND_SPIRIT
-
SPIRIT_FAIRY_TREE
public static final SpiritFairyTree SPIRIT_FAIRY_TREE
-
-
Method Detail
-
values
public static SpiritFairyTree[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpiritFairyTree c : SpiritFairyTree.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpiritFairyTree valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-