private static enum GameScreen.MOVEMENT_CODES extends Enum<GameScreen.MOVEMENT_CODES>
Modifier and Type | Method and Description |
---|---|
static GameScreen.MOVEMENT_CODES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameScreen.MOVEMENT_CODES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameScreen.MOVEMENT_CODES DOWN
public static final GameScreen.MOVEMENT_CODES UP
public static final GameScreen.MOVEMENT_CODES LEFT
public static final GameScreen.MOVEMENT_CODES RIGHT
public static final GameScreen.MOVEMENT_CODES NONE
public static GameScreen.MOVEMENT_CODES[] values()
for (GameScreen.MOVEMENT_CODES c : GameScreen.MOVEMENT_CODES.values()) System.out.println(c);
public static GameScreen.MOVEMENT_CODES 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 null