public static enum Charter.LocationProperty extends java.lang.Enum<Charter.LocationProperty>
| Enum Constant and Description |
|---|
BRIMHAVEN |
CATHERBY |
CRANDOR |
KARAMJA |
MOS_LE_HARMLESS |
PORT_KHAZARD |
PORT_PHASMATYS |
PORT_SARIM |
PORT_TYRAS |
SHIPYARD |
| Modifier and Type | Method and Description |
|---|---|
static Charter.LocationProperty |
getLocation(org.tribot.api2007.types.RSTile tile) |
static Charter.LocationProperty |
stringToLocation(java.lang.String name) |
java.lang.String |
toString() |
boolean |
valid(org.tribot.api2007.types.RSTile tile) |
static Charter.LocationProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Charter.LocationProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Charter.LocationProperty PORT_TYRAS
public static final Charter.LocationProperty PORT_PHASMATYS
public static final Charter.LocationProperty CATHERBY
public static final Charter.LocationProperty SHIPYARD
public static final Charter.LocationProperty KARAMJA
public static final Charter.LocationProperty BRIMHAVEN
public static final Charter.LocationProperty PORT_KHAZARD
public static final Charter.LocationProperty PORT_SARIM
public static final Charter.LocationProperty MOS_LE_HARMLESS
public static final Charter.LocationProperty CRANDOR
public static Charter.LocationProperty[] values()
for (Charter.LocationProperty c : Charter.LocationProperty.values()) System.out.println(c);
public static Charter.LocationProperty 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 boolean valid(org.tribot.api2007.types.RSTile tile)
public static Charter.LocationProperty stringToLocation(java.lang.String name)
public static Charter.LocationProperty getLocation(org.tribot.api2007.types.RSTile tile)
public java.lang.String toString()
toString in class java.lang.Enum<Charter.LocationProperty>