Enum Rune
- java.lang.Object
-
- java.lang.Enum<Rune>
-
- net.eternalclient.api.wrappers.magic.Rune
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Rune.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
java.lang.String
getName()
static Rune
getRune(int id)
static Rune
getRune(java.lang.String runeName)
java.lang.String
toString()
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
-
MIND
public static final Rune MIND
-
WATER
public static final Rune WATER
-
EARTH
public static final Rune EARTH
-
FIRE
public static final Rune FIRE
-
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
-
MIST
public static final Rune MIST
-
DUST
public static final Rune DUST
-
MUD
public static final Rune MUD
-
SMOKE
public static final Rune SMOKE
-
STEAM
public static final Rune STEAM
-
LAVA
public static final Rune LAVA
-
-
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
-
getRune
public static Rune getRune(java.lang.String runeName)
-
getRune
public static Rune getRune(int id)
-
getId
public int getId()
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Rune>
-
-