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