public static enum Spellcaster.Spell extends java.lang.Enum<Spellcaster.Spell>
枚举常量和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
static Spellcaster.Spell |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Spellcaster.Spell[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值