public static enum PuzzleController.ScreenMode extends java.lang.Enum<PuzzleController.ScreenMode>
Enum Constant and Description |
---|
EDIT |
EDIT_TUTORIAL |
MULTI_EDIT |
MULTI_PLAY |
PLAY |
REPLAY |
SANDBOX_FROM_EDIT |
SANDBOX_FROM_PLAY |
VIEW |
Modifier and Type | Method and Description |
---|---|
static PuzzleController.ScreenMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PuzzleController.ScreenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PuzzleController.ScreenMode PLAY
public static final PuzzleController.ScreenMode MULTI_PLAY
public static final PuzzleController.ScreenMode EDIT
public static final PuzzleController.ScreenMode MULTI_EDIT
public static final PuzzleController.ScreenMode VIEW
public static final PuzzleController.ScreenMode SANDBOX_FROM_PLAY
public static final PuzzleController.ScreenMode SANDBOX_FROM_EDIT
public static final PuzzleController.ScreenMode REPLAY
public static final PuzzleController.ScreenMode EDIT_TUTORIAL
public static PuzzleController.ScreenMode[] values()
for (PuzzleController.ScreenMode c : PuzzleController.ScreenMode.values()) System.out.println(c);
public static PuzzleController.ScreenMode 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