Serializable
, Comparable<Spellcaster.Spell>
public static enum Spellcaster.Spell extends Enum<Spellcaster.Spell>
Enum Constant | Description |
---|---|
BLINDNESS |
The spell that makes the target blind.
|
DISAPPEAR |
The spell that makes the casting entity invisible.
|
FANGS |
The spell that summons Fangs.
|
NONE |
No spell is being used..
|
SUMMON_VEX |
The spell that summons Vexes.
|
WOLOLO |
The "wololo" spell.
|
Modifier and Type | Method | Description |
---|---|---|
static Spellcaster.Spell |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Spellcaster.Spell[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Spellcaster.Spell NONE
public static final Spellcaster.Spell SUMMON_VEX
public static final Spellcaster.Spell FANGS
public static final Spellcaster.Spell WOLOLO
public static final Spellcaster.Spell DISAPPEAR
public static final Spellcaster.Spell BLINDNESS
public static Spellcaster.Spell[] values()
for (Spellcaster.Spell c : Spellcaster.Spell.values()) System.out.println(c);
public static Spellcaster.Spell valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.