Orientation
The eight directions an object or actor can face.
EnumRLPlugins API
public enum OrientationValues
SOUTH, SOUTH_WEST, WEST, NORTH_WEST, NORTH, NORTH_EAST, EAST, SOUTH_EAST
Members
Methods
- intgetValue()
The value.
- Orientationof(Actor)
Of.
- Orientationof(int)
Of.
getValue()
public int getValue()The value.
of(Actor)static
public static Orientation of(Actor actor)Of.
Parameters
actor- Actor.
of(int)static
public static Orientation of(int value)Of.
Parameters
value- Value.
Also allowed
Every enum has these, as in plain Java.
compareTo, equals, hashCode, name, ordinal, toString, valueOf, values