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