public static enum Magic.Book extends java.lang.Enum<Magic.Book>
Modifier and Type | Method and Description |
---|---|
MagicSpell[] |
getSpells() |
static Magic.Book |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Magic.Book[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Magic.Book NORMAL
public static final Magic.Book ANCIENT
public static final Magic.Book LUNAR
public static final Magic.Book ARCEUUS
public static Magic.Book[] values()
for (Magic.Book c : Magic.Book.values()) System.out.println(c);
public static Magic.Book 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 nullpublic MagicSpell[] getSpells()