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