Class RotatableCommons
- java.lang.Object
-
- com.runemate.game.api.hybrid.util.RotatableCommons
-
public final class RotatableCommons extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
EAST
static int
NORTH
static int
NORTH_EAST
static int
NORTH_WEST
static int
SOUTH
static int
SOUTH_EAST
static int
SOUTH_WEST
static int
WEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCorrectModuloOf(int amount, int modulo)
static int
getYawOffset(int goal)
static int
getYawOffset(int start, int goal)
static boolean
isFacing(Locatable camera, Locatable pointOfView)
-
-
-
Field Detail
-
NORTH
public static final int NORTH
- See Also:
- Constant Field Values
-
SOUTH
public static final int SOUTH
- See Also:
- Constant Field Values
-
EAST
public static final int EAST
- See Also:
- Constant Field Values
-
WEST
public static final int WEST
- See Also:
- Constant Field Values
-
NORTH_EAST
public static final int NORTH_EAST
- See Also:
- Constant Field Values
-
NORTH_WEST
public static final int NORTH_WEST
- See Also:
- Constant Field Values
-
SOUTH_EAST
public static final int SOUTH_EAST
- See Also:
- Constant Field Values
-
SOUTH_WEST
public static final int SOUTH_WEST
- See Also:
- Constant Field Values
-
-