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