Enum Class Prayer.Modern

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

public static enum Prayer.Modern extends Enum<Prayer.Modern> implements Prayer
  • Enum Constant Details

  • Method Details

    • values

      public static Prayer.Modern[] 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 Prayer.Modern 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
    • getLevel

      public int getLevel()
      Specified by:
      getLevel in interface Prayer
    • getVarpValue

      public int getVarpValue()
      Specified by:
      getVarpValue in interface Prayer
    • getComponentAddress

      public InterfaceAddress getComponentAddress()
      Specified by:
      getComponentAddress in interface Prayer
    • getUnlockedMaterialId

      public int getUnlockedMaterialId()
      Specified by:
      getUnlockedMaterialId in interface Prayer
    • getBook

      public Prayer.Book getBook()
      Specified by:
      getBook in interface Prayer
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Prayer.Modern>