public enum ManeuverDirection extends java.lang.Enum<ManeuverDirection>
Enum Constant and Description |
---|
Back
Backwards.
|
Error
Invalid manoeuvre direction.
|
Left
To the left.
|
Right
To the right.
|
Straight
Straight ahead.
|
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static ManeuverDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManeuverDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManeuverDirection Error
public static final ManeuverDirection Straight
public static final ManeuverDirection Left
public static final ManeuverDirection Right
public static final ManeuverDirection Back
public static ManeuverDirection[] values()
for (ManeuverDirection c : ManeuverDirection.values()) System.out.println(c);
public static ManeuverDirection 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 nullpublic int getId()