| Enum Constant and Description |
|---|
BetweenTurns |
FirstTurn |
FlippingCoin |
NormalTurn |
PreMatch |
| Modifier and Type | Method and Description |
|---|---|
boolean |
after(GamePhase phase) |
static GamePhase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GamePhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GamePhase FlippingCoin
public static final GamePhase PreMatch
public static final GamePhase FirstTurn
public static final GamePhase NormalTurn
public static final GamePhase BetweenTurns
public static GamePhase[] values()
for (GamePhase c : GamePhase.values()) System.out.println(c);
public static GamePhase 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 boolean after(GamePhase phase)