Package org.rspeer.game.component.tdi
Enum Skill
- java.lang.Object
-
- java.lang.Enum<Skill>
-
- org.rspeer.game.component.tdi.Skill
-
- All Implemented Interfaces:
Serializable
,Comparable<Skill>
public enum Skill extends Enum<Skill>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
String
toString()
static Skill
valueOf(String name)
Returns the enum constant of this type with the specified name.static Skill[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTACK
public static final Skill ATTACK
-
DEFENCE
public static final Skill DEFENCE
-
STRENGTH
public static final Skill STRENGTH
-
HITPOINTS
public static final Skill HITPOINTS
-
RANGED
public static final Skill RANGED
-
PRAYER
public static final Skill PRAYER
-
MAGIC
public static final Skill MAGIC
-
COOKING
public static final Skill COOKING
-
WOODCUTTING
public static final Skill WOODCUTTING
-
FLETCHING
public static final Skill FLETCHING
-
FISHING
public static final Skill FISHING
-
FIREMAKING
public static final Skill FIREMAKING
-
CRAFTING
public static final Skill CRAFTING
-
SMITHING
public static final Skill SMITHING
-
MINING
public static final Skill MINING
-
HERBLORE
public static final Skill HERBLORE
-
AGILITY
public static final Skill AGILITY
-
THIEVING
public static final Skill THIEVING
-
SLAYER
public static final Skill SLAYER
-
FARMING
public static final Skill FARMING
-
RUNECRAFTING
public static final Skill RUNECRAFTING
-
HUNTER
public static final Skill HUNTER
-
CONSTRUCTION
public static final Skill CONSTRUCTION
-
-
Method Detail
-
values
public static Skill[] 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 (Skill c : Skill.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Skill 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
-
getIndex
public int getIndex()
-
-