Enum Constant and Description |
---|
CHARACTER
A character related sound event.
|
Modifier and Type | Field and Description |
---|---|
static @NotNull java.lang.String |
LEVEL_UP
The sound to play when the character gains a new level.
|
static @NotNull java.lang.String |
POISON_OFF
The sound to play when the character gets un-poisoned.
|
static @NotNull java.lang.String |
POISON_ON
The sound to play when the character get poisoned.
|
Modifier and Type | Method and Description |
---|---|
static Sounds |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sounds[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sounds CHARACTER
@NotNull public static final @NotNull java.lang.String POISON_ON
@NotNull public static final @NotNull java.lang.String POISON_OFF
@NotNull public static final @NotNull java.lang.String LEVEL_UP
public static Sounds[] values()
for (Sounds c : Sounds.values()) System.out.println(c);
public static Sounds 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