public static enum Spells.SpellType extends java.lang.Enum<Spells.SpellType>
Enum Constant and Description |
---|
explosiveSpell |
fireSpell |
none |
poisonSpell |
webSpell |
zombieSpell |
Modifier and Type | Method and Description |
---|---|
static Spells.SpellType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Spells.SpellType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Spells.SpellType none
public static final Spells.SpellType explosiveSpell
public static final Spells.SpellType fireSpell
public static final Spells.SpellType webSpell
public static final Spells.SpellType zombieSpell
public static final Spells.SpellType poisonSpell
public static Spells.SpellType[] values()
for (Spells.SpellType c : Spells.SpellType.values()) System.out.println(c);
public static Spells.SpellType 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