Package rs.kreme.ksbot.api.game.magic
Enum Rune
- java.lang.Object
-
- java.lang.Enum<Rune>
-
- rs.kreme.ksbot.api.game.magic.Rune
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getQuantity()
int
getRuneId()
java.lang.String[]
getRuneNames()
static Rune
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Rune[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AIR
public static final Rune AIR
-
EARTH
public static final Rune EARTH
-
FIRE
public static final Rune FIRE
-
WATER
public static final Rune WATER
-
MIND
public static final Rune MIND
-
BODY
public static final Rune BODY
-
COSMIC
public static final Rune COSMIC
-
CHAOS
public static final Rune CHAOS
-
NATURE
public static final Rune NATURE
-
LAW
public static final Rune LAW
-
DEATH
public static final Rune DEATH
-
ASTRAL
public static final Rune ASTRAL
-
BLOOD
public static final Rune BLOOD
-
SOUL
public static final Rune SOUL
-
WRATH
public static final Rune WRATH
-
-
Method Detail
-
values
public static Rune[] 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 (Rune c : Rune.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Rune 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
-
getRuneNames
public java.lang.String[] getRuneNames()
-
getRuneId
public int getRuneId()
-
getQuantity
public int getQuantity()
-
-