Serializable, Comparable<CheckerboardAction>public enum CheckerboardAction extends Enum<CheckerboardAction>
| Enum Constant | Description |
|---|---|
GRID_DIMENSION_CHANGED |
|
GRID_MODE_CHANGED |
|
INITIALIZE |
|
PLAYER_ADDED |
|
PLAYER_REMOVED |
| Modifier and Type | Method | Description |
|---|---|---|
static CheckerboardAction |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static CheckerboardAction[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckerboardAction PLAYER_ADDED
public static final CheckerboardAction PLAYER_REMOVED
public static final CheckerboardAction GRID_MODE_CHANGED
public static final CheckerboardAction GRID_DIMENSION_CHANGED
public static final CheckerboardAction INITIALIZE
public static CheckerboardAction[] values()
for (CheckerboardAction c : CheckerboardAction.values()) System.out.println(c);
public static CheckerboardAction 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 © 2018. All rights reserved.