Package org.rspeer.game.component.tdi
Enum Magic.Rune
- java.lang.Object
-
- java.lang.Enum<Magic.Rune>
-
- org.rspeer.game.component.tdi.Magic.Rune
-
- All Implemented Interfaces:
Serializable
,Comparable<Magic.Rune>
- Enclosing class:
- Magic
public static enum Magic.Rune extends Enum<Magic.Rune>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getQuantity()
String[]
getTypeNames()
static Magic.Rune
valueOf(String name)
Returns the enum constant of this type with the specified name.static Magic.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 Magic.Rune AIR
-
EARTH
public static final Magic.Rune EARTH
-
FIRE
public static final Magic.Rune FIRE
-
WATER
public static final Magic.Rune WATER
-
MIND
public static final Magic.Rune MIND
-
BODY
public static final Magic.Rune BODY
-
COSMIC
public static final Magic.Rune COSMIC
-
CHAOS
public static final Magic.Rune CHAOS
-
NATURE
public static final Magic.Rune NATURE
-
LAW
public static final Magic.Rune LAW
-
DEATH
public static final Magic.Rune DEATH
-
ASTRAL
public static final Magic.Rune ASTRAL
-
BLOOD
public static final Magic.Rune BLOOD
-
SOUL
public static final Magic.Rune SOUL
-
WRATH
public static final Magic.Rune WRATH
-
-
Method Detail
-
values
public static Magic.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 (Magic.Rune c : Magic.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 Magic.Rune valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTypeNames
public String[] getTypeNames()
-
getQuantity
public int getQuantity()
-
-