public static enum Quest.State extends java.lang.Enum<Quest.State>
| Enum Constant and Description |
|---|
COMPLETED |
IN_PROGRESS |
NOT_STARTED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Quest.State |
getState(int colorID) |
static Quest.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Quest.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quest.State COMPLETED
public static final Quest.State IN_PROGRESS
public static final Quest.State NOT_STARTED
public static final Quest.State UNKNOWN
public static Quest.State[] values()
for (Quest.State c : Quest.State.values()) System.out.println(c);
public static Quest.State 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 static Quest.State getState(int colorID)