Enum Magic.Ancient
- java.lang.Object
-
- java.lang.Enum<Magic.Ancient>
-
- com.runemate.game.api.osrs.local.hud.interfaces.Magic.Ancient
-
- All Implemented Interfaces:
Spell
,java.io.Serializable
,java.lang.Comparable<Magic.Ancient>
- Enclosing class:
- Magic
public static enum Magic.Ancient extends java.lang.Enum<Magic.Ancient> implements Spell
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
activate()
boolean
activate(java.lang.String action)
Activates the desired spell using the specified action.boolean
deactivate()
InterfaceComponent
getComponent()
static Magic.Ancient
getSelected()
SpellBook
getSpellBook()
int
getSpriteIdWhenAvailable()
int
getSpriteIdWhenUnavailable()
boolean
isAutocasting()
boolean
isSelected()
static Magic.Ancient
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Magic.Ancient[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EDGEVILLE_HOME_TELEPORT
public static final Magic.Ancient EDGEVILLE_HOME_TELEPORT
-
SMOKE_RUSH
public static final Magic.Ancient SMOKE_RUSH
-
SHADOW_RUSH
public static final Magic.Ancient SHADOW_RUSH
-
PADDEWWA_TELEPORT
public static final Magic.Ancient PADDEWWA_TELEPORT
-
BLOOD_RUSH
public static final Magic.Ancient BLOOD_RUSH
-
ICE_RUSH
public static final Magic.Ancient ICE_RUSH
-
SENNTISTEN_TELEPORT
public static final Magic.Ancient SENNTISTEN_TELEPORT
-
SMOKE_BURST
public static final Magic.Ancient SMOKE_BURST
-
SHADOW_BURST
public static final Magic.Ancient SHADOW_BURST
-
KHARYRLL_TELEPORT
public static final Magic.Ancient KHARYRLL_TELEPORT
-
BLOOD_BURST
public static final Magic.Ancient BLOOD_BURST
-
ICE_BURST
public static final Magic.Ancient ICE_BURST
-
LASSAR_TELEPORT
public static final Magic.Ancient LASSAR_TELEPORT
-
SMOKE_BLITZ
public static final Magic.Ancient SMOKE_BLITZ
-
SHADOW_BLITZ
public static final Magic.Ancient SHADOW_BLITZ
-
DAREEYAK_TELEPORT
public static final Magic.Ancient DAREEYAK_TELEPORT
-
BLOOD_BLITZ
public static final Magic.Ancient BLOOD_BLITZ
-
ICE_BLITZ
public static final Magic.Ancient ICE_BLITZ
-
CARRALLANGAR_TELEPORT
public static final Magic.Ancient CARRALLANGAR_TELEPORT
-
TELEPORT_TO_BOUNTY_TARGET
public static final Magic.Ancient TELEPORT_TO_BOUNTY_TARGET
-
SMOKE_BARRAGE
public static final Magic.Ancient SMOKE_BARRAGE
-
SHADOW_BARRAGE
public static final Magic.Ancient SHADOW_BARRAGE
-
ANNAKARL_TELEPORT
public static final Magic.Ancient ANNAKARL_TELEPORT
-
BLOOD_BARRAGE
public static final Magic.Ancient BLOOD_BARRAGE
-
ICE_BARRAGE
public static final Magic.Ancient ICE_BARRAGE
-
GHORROCK_TELEPORT
public static final Magic.Ancient GHORROCK_TELEPORT
-
-
Method Detail
-
values
public static Magic.Ancient[] 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 (Magic.Ancient c : Magic.Ancient.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Magic.Ancient 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
-
getSelected
public static Magic.Ancient getSelected()
-
getSpriteIdWhenAvailable
public int getSpriteIdWhenAvailable()
-
getSpriteIdWhenUnavailable
public int getSpriteIdWhenUnavailable()
-
activate
public boolean activate(java.lang.String action)
Activates the desired spell using the specified action.- Parameters:
action
- the menu action to interact with- Returns:
- True if the interaction was successful.
- See Also:
Magic.activate(String)
-
activate
public boolean activate()
- Specified by:
activate
in interfaceSpell
- See Also:
Magic.activate()
-
deactivate
public boolean deactivate()
- Returns:
- True if the interaction to deactivate the spell was successfully.
- See Also:
Magic.deactivate()
-
getComponent
public InterfaceComponent getComponent()
- Specified by:
getComponent
in interfaceSpell
- See Also:
Magic.getComponent()
-
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interfaceSpell
- See Also:
Magic.isSelected()
-
isAutocasting
public boolean isAutocasting()
- Specified by:
isAutocasting
in interfaceSpell
-
getSpellBook
public SpellBook getSpellBook()
- Specified by:
getSpellBook
in interfaceSpell
-
-