public enum RotationMode extends java.lang.Enum<RotationMode>
| Enum Constant and Description |
|---|
FIXED_DIRECTION
Direction is fixed, look at is calculated by the direction
|
FIXED_TARGET
Target is fixed, direction is calculated by the look at target
|
| Modifier and Type | Method and Description |
|---|---|
static RotationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RotationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationMode FIXED_TARGET
public static final RotationMode FIXED_DIRECTION
public static RotationMode[] values()
for (RotationMode c : RotationMode.values()) System.out.println(c);
public static RotationMode 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