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