Package org.rspeer.game.component.tdi
Enum Magic.RunePouch.Slot
- java.lang.Object
-
- java.lang.Enum<Magic.RunePouch.Slot>
-
- org.rspeer.game.component.tdi.Magic.RunePouch.Slot
-
- All Implemented Interfaces:
Serializable
,Comparable<Magic.RunePouch.Slot>
- Enclosing class:
- Magic.RunePouch
public static enum Magic.RunePouch.Slot extends Enum<Magic.RunePouch.Slot>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getQuantity()
String
getRuneName()
int
getType()
static Magic.RunePouch.Slot
valueOf(String name)
Returns the enum constant of this type with the specified name.static Magic.RunePouch.Slot[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST
public static final Magic.RunePouch.Slot FIRST
-
SECOND
public static final Magic.RunePouch.Slot SECOND
-
THIRD
public static final Magic.RunePouch.Slot THIRD
-
FOURTH
public static final Magic.RunePouch.Slot FOURTH
-
-
Method Detail
-
values
public static Magic.RunePouch.Slot[] 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.RunePouch.Slot c : Magic.RunePouch.Slot.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.RunePouch.Slot 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
-
getType
public int getType()
-
getRuneName
public String getRuneName()
-
getQuantity
public int getQuantity()
-
-