public static enum Reachable.Direction extends java.lang.Enum<Reachable.Direction>
| Modifier and Type | Method and Description |
|---|---|
org.tribot.api2007.types.RSTile |
getPointingTile(org.tribot.api2007.types.RSTile tile) |
boolean |
isValidDirection(int x,
int y,
int[][] collisionData) |
static Reachable.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Reachable.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reachable.Direction NORTH
public static final Reachable.Direction EAST
public static final Reachable.Direction SOUTH
public static final Reachable.Direction WEST
public static Reachable.Direction[] values()
for (Reachable.Direction c : Reachable.Direction.values()) System.out.println(c);
public static Reachable.Direction 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 org.tribot.api2007.types.RSTile getPointingTile(org.tribot.api2007.types.RSTile tile)
public boolean isValidDirection(int x,
int y,
int[][] collisionData)