Enum TeleportScrolls
- java.lang.Object
-
- java.lang.Enum<TeleportScrolls>
-
- net.eternalclient.api.wrappers.walking.teleports.TeleportScrolls
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TeleportScrolls>
public enum TeleportScrolls extends java.lang.Enum<TeleportScrolls>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIGSITE
ELF_CAMP
FELDIP_HILLS
KEY_MASTER
LUMBERYARD
LUNAR_ISLE
MORTTON
MOS_LE_HARMLESS
NARDAH
PEST_CONTROL
PISCATORIS
REVENANT_CAVES
TAI_BWO_WANNAI
WATSON
ZULLANDRA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
WorldTile
getLocation()
java.lang.String
getName()
boolean
hasScroll()
boolean
teleportTo(boolean shouldWait)
static TeleportScrolls
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TeleportScrolls[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NARDAH
public static final TeleportScrolls NARDAH
-
DIGSITE
public static final TeleportScrolls DIGSITE
-
FELDIP_HILLS
public static final TeleportScrolls FELDIP_HILLS
-
LUNAR_ISLE
public static final TeleportScrolls LUNAR_ISLE
-
MORTTON
public static final TeleportScrolls MORTTON
-
PEST_CONTROL
public static final TeleportScrolls PEST_CONTROL
-
PISCATORIS
public static final TeleportScrolls PISCATORIS
-
TAI_BWO_WANNAI
public static final TeleportScrolls TAI_BWO_WANNAI
-
ELF_CAMP
public static final TeleportScrolls ELF_CAMP
-
MOS_LE_HARMLESS
public static final TeleportScrolls MOS_LE_HARMLESS
-
LUMBERYARD
public static final TeleportScrolls LUMBERYARD
-
ZULLANDRA
public static final TeleportScrolls ZULLANDRA
-
KEY_MASTER
public static final TeleportScrolls KEY_MASTER
-
REVENANT_CAVES
public static final TeleportScrolls REVENANT_CAVES
-
WATSON
public static final TeleportScrolls WATSON
-
-
Method Detail
-
values
public static TeleportScrolls[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TeleportScrolls c : TeleportScrolls.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TeleportScrolls valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
teleportTo
public boolean teleportTo(boolean shouldWait)
-
hasScroll
public boolean hasScroll()
-
canUse
public boolean canUse()
-
getName
public java.lang.String getName()
-
getLocation
public WorldTile getLocation()
-
-