Package org.rspeer.game.house
Enum Altar.Magical
- java.lang.Object
-
- java.lang.Enum<Altar.Magical>
-
- org.rspeer.game.house.Altar.Magical
-
- All Implemented Interfaces:
Serializable
,Comparable<Altar.Magical>
- Enclosing class:
- Altar
public static enum Altar.Magical extends Enum<Altar.Magical>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Altar.Magical
valueOf(String name)
Returns the enum constant of this type with the specified name.static Altar.Magical[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Altar.Magical NONE
-
ANCIENT
public static final Altar.Magical ANCIENT
-
LUNAR
public static final Altar.Magical LUNAR
-
DARK
public static final Altar.Magical DARK
-
OCCULT
public static final Altar.Magical OCCULT
-
-
Method Detail
-
values
public static Altar.Magical[] 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 (Altar.Magical c : Altar.Magical.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Altar.Magical valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Altar.Magical>
-
-