Class Prayers

java.lang.Object
org.rspeer.game.component.tdi.Prayers

public class Prayers extends Object
Provides operations to interact with the prayer book
See Also:
  • Constructor Details

    • Prayers

      public Prayers()
  • Method Details

    • getBook

      public static Prayer.Book getBook()
    • getActiveOverhead

      public static Prayer getActiveOverhead()
    • flick

      public static boolean flick(Prayer... prayers)
    • select

      public static boolean select(boolean unchecked, Prayer... prayers)
      Parameters:
      unchecked - true to skip validation of active prayer states
    • getActive

      public static List<Prayer> getActive()
    • isActive

      public static boolean isActive(Prayer... prayers)
    • toggle

      @Deprecated public static boolean toggle(boolean on, Prayer prayer)
      Deprecated.
      because prayer states are unsafe, particularly with things like flicking. this method is still fine to use outside of that
    • getPoints

      public static int getPoints()
    • getTotalPoints

      public static int getTotalPoints()
    • getPercent

      public static int getPercent()
    • isUnlocked

      public static boolean isUnlocked(Prayer prayer)