Class Prayers.Quick

java.lang.Object
dev.twilite.game.facade.Prayers.Quick
Enclosing class:
Prayers

public static class Prayers.Quick extends Object
Quick-prayer state and setup helpers.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Quick-prayer setup interface helpers.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Returns whether quick prayers are currently active.
    static void
    Toggles quick prayers off and on in the current tick.
    static List<Prayer>
    Returns every prayer currently selected in the quick-prayer preset.
    static boolean
    preset(Prayer... prayers)
    Returns whether all supplied prayers are selected in the quick-prayer preset.
    static boolean
    Returns whether all supplied prayers are selected in the quick-prayer preset.
    static void
    toggle(boolean on)
    Toggles quick prayers to the requested state.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Quick

      public Quick()
  • Method Details

    • active

      public static boolean active()
      Returns whether quick prayers are currently active.
    • toggle

      public static void toggle(boolean on)
      Toggles quick prayers to the requested state.
    • flick

      public static void flick()
      Toggles quick prayers off and on in the current tick.
    • preset

      public static List<Prayer> preset()
      Returns every prayer currently selected in the quick-prayer preset.
    • preset

      public static boolean preset(Collection<Prayer> prayers)
      Returns whether all supplied prayers are selected in the quick-prayer preset.
    • preset

      public static boolean preset(Prayer... prayers)
      Returns whether all supplied prayers are selected in the quick-prayer preset.