Enum MagicTeleport
- java.lang.Object
-
- java.lang.Enum<MagicTeleport>
-
- org.dreambot.api.methods.walking.web.node.impl.teleports.MagicTeleport
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MagicTeleport>
,Teleport
public enum MagicTeleport extends java.lang.Enum<MagicTeleport> implements Teleport
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canDo()
boolean
execute()
Spell
getSpell()
int
getX()
int
getY()
int
getZ()
boolean
hasRequirements()
static MagicTeleport
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MagicTeleport[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VARROCK
public static final MagicTeleport VARROCK
-
LUMBRIDGE
public static final MagicTeleport LUMBRIDGE
-
FALADOR
public static final MagicTeleport FALADOR
-
CAMELOT
public static final MagicTeleport CAMELOT
-
ARDOUGNE
public static final MagicTeleport ARDOUGNE
-
WATCHTOWER
public static final MagicTeleport WATCHTOWER
-
TROLLHEIM
public static final MagicTeleport TROLLHEIM
-
KOUREND
public static final MagicTeleport KOUREND
-
PADEWWA
public static final MagicTeleport PADEWWA
-
SENNTISTEN
public static final MagicTeleport SENNTISTEN
-
KHARYRLL
public static final MagicTeleport KHARYRLL
-
LASSAR
public static final MagicTeleport LASSAR
-
DAREEYAK
public static final MagicTeleport DAREEYAK
-
CARRALLANGAR
public static final MagicTeleport CARRALLANGAR
-
ANNAKARL
public static final MagicTeleport ANNAKARL
-
GHORROCK
public static final MagicTeleport GHORROCK
-
MOONCLAN
public static final MagicTeleport MOONCLAN
-
WATERBIRTH
public static final MagicTeleport WATERBIRTH
-
BARBARIAN
public static final MagicTeleport BARBARIAN
-
KHAZARD
public static final MagicTeleport KHAZARD
-
FISHING_GUILD
public static final MagicTeleport FISHING_GUILD
-
CATHERBY
public static final MagicTeleport CATHERBY
-
ICE_PLATEAU
public static final MagicTeleport ICE_PLATEAU
-
OURANIA
public static final MagicTeleport OURANIA
-
ARCEUS_LIBRARY
public static final MagicTeleport ARCEUS_LIBRARY
-
DRAYNOR_MANOR
public static final MagicTeleport DRAYNOR_MANOR
-
MIND_ALTER
public static final MagicTeleport MIND_ALTER
-
SALVE_GRAVEYARD
public static final MagicTeleport SALVE_GRAVEYARD
-
FENKENSTRAINS_CASTLE
public static final MagicTeleport FENKENSTRAINS_CASTLE
-
WEST_ARDOUGNE
public static final MagicTeleport WEST_ARDOUGNE
-
HARMONY_ISLAND
public static final MagicTeleport HARMONY_ISLAND
-
CEMETERY
public static final MagicTeleport CEMETERY
-
BARROWS
public static final MagicTeleport BARROWS
-
APE_ATOLL
public static final MagicTeleport APE_ATOLL
-
BATTLEFRONT
public static final MagicTeleport BATTLEFRONT
-
-
Method Detail
-
values
public static MagicTeleport[] 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 (MagicTeleport c : MagicTeleport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MagicTeleport 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
-
hasRequirements
public boolean hasRequirements()
- Specified by:
hasRequirements
in interfaceTeleport
-
canDo
public boolean canDo()
-
getSpell
public Spell getSpell()
-
-