Package dev.twilite.game.facade
Class Prayers.Quick
java.lang.Object
dev.twilite.game.facade.Prayers.Quick
- Enclosing class:
Prayers
Quick-prayer state and setup helpers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQuick-prayer setup interface helpers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanactive()Returns whether quick prayers are currently active.static voidflick()Toggles quick prayers off and on in the current tick.preset()Returns every prayer currently selected in the quick-prayer preset.static booleanReturns whether all supplied prayers are selected in the quick-prayer preset.static booleanpreset(Collection<Prayer> prayers) Returns whether all supplied prayers are selected in the quick-prayer preset.static voidtoggle(boolean on) Toggles quick prayers to the requested state.
-
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
Returns every prayer currently selected in the quick-prayer preset. -
preset
Returns whether all supplied prayers are selected in the quick-prayer preset. -
preset
Returns whether all supplied prayers are selected in the quick-prayer preset.
-