public enum SpellEventType extends Enum<SpellEventType>
| Enum Constant and Description |
|---|
PLAYER_DAMAGE |
PLAYER_DEATH |
PLAYER_QUIT |
| Modifier and Type | Method and Description |
|---|---|
static SpellEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpellEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpellEventType PLAYER_QUIT
public static final SpellEventType PLAYER_DEATH
public static final SpellEventType PLAYER_DAMAGE
public static SpellEventType[] values()
for (SpellEventType c : SpellEventType.values()) System.out.println(c);
public static SpellEventType 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 © 2021 elMakers. All rights reserved.