public static enum LevelBoard.ActionResult extends Enum<LevelBoard.ActionResult>
| Enum Constant and Description |
|---|
CHARACTER_LEFT |
FAIL |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static LevelBoard.ActionResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LevelBoard.ActionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LevelBoard.ActionResult SUCCESS
public static final LevelBoard.ActionResult FAIL
public static final LevelBoard.ActionResult CHARACTER_LEFT
public static LevelBoard.ActionResult[] values()
for (LevelBoard.ActionResult c : LevelBoard.ActionResult.values()) System.out.println(c);
public static LevelBoard.ActionResult 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 © 2013. All Rights Reserved.