Enum Class Skill

java.lang.Object
java.lang.Enum<Skill>
org.rspeer.game.component.tdi.Skill
All Implemented Interfaces:
Serializable, Comparable<Skill>, Constable

public enum Skill extends Enum<Skill>
  • Enum Constant Details

    • 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 Details

    • values

      public static Skill[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Skill valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndex

      public int getIndex()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Skill>