public static enum EnumWrappers.Difficulty extends java.lang.Enum<EnumWrappers.Difficulty>
Modifier and Type | Method and Description |
---|---|
static EnumWrappers.Difficulty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumWrappers.Difficulty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumWrappers.Difficulty PEACEFUL
public static final EnumWrappers.Difficulty EASY
public static final EnumWrappers.Difficulty NORMAL
public static final EnumWrappers.Difficulty HARD
public static EnumWrappers.Difficulty[] values()
for (EnumWrappers.Difficulty c : EnumWrappers.Difficulty.values()) System.out.println(c);
public static EnumWrappers.Difficulty 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