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