Package com.kraken.api.service.spell
Enum Runes
- java.lang.Object
-
- java.lang.Enum<Runes>
-
- com.kraken.api.service.spell.Runes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RunesbyItemId(int itemId)static RunesbyVarbitId(int varbitValue)static Runes[]getComboRunes(Runes rune)booleanisComboRune()booleanprovidesRune(Runes rune)static RunesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Runes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AIR
public static final Runes AIR
-
WATER
public static final Runes WATER
-
EARTH
public static final Runes EARTH
-
FIRE
public static final Runes FIRE
-
MIND
public static final Runes MIND
-
CHAOS
public static final Runes CHAOS
-
DEATH
public static final Runes DEATH
-
BLOOD
public static final Runes BLOOD
-
COSMIC
public static final Runes COSMIC
-
NATURE
public static final Runes NATURE
-
LAW
public static final Runes LAW
-
BODY
public static final Runes BODY
-
SOUL
public static final Runes SOUL
-
ASTRAL
public static final Runes ASTRAL
-
MIST
public static final Runes MIST
-
MUD
public static final Runes MUD
-
DUST
public static final Runes DUST
-
LAVA
public static final Runes LAVA
-
STEAM
public static final Runes STEAM
-
SMOKE
public static final Runes SMOKE
-
WRATH
public static final Runes WRATH
-
SUNFIRE
public static final Runes SUNFIRE
-
AETHER
public static final Runes AETHER
-
-
Method Detail
-
values
public static Runes[] 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 (Runes c : Runes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Runes 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
-
providesRune
public boolean providesRune(Runes rune)
-
isComboRune
public boolean isComboRune()
-
byVarbitId
public static Runes byVarbitId(int varbitValue)
-
byItemId
public static Runes byItemId(int itemId)
-
-