public static enum Magic.SpellBook extends java.lang.Enum<Magic.SpellBook>
Enum Constant and Description |
---|
ANCIENT
Wraps all the spells in the Ancient spell book.
|
ARCEUUS
Wraps all the spells in the Arceuus spell book.
|
LUNAR
Wraps all the spells in the Lunar spell book.
|
MODERN
Wraps all the spells in the Modern spell book.
|
Modifier and Type | Method and Description |
---|---|
static Magic.SpellBook |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Magic.SpellBook[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Magic.SpellBook MODERN
public static final Magic.SpellBook ANCIENT
public static final Magic.SpellBook LUNAR
public static final Magic.SpellBook ARCEUUS
public static Magic.SpellBook[] values()
for (Magic.SpellBook c : Magic.SpellBook.values()) System.out.println(c);
public static Magic.SpellBook valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null