Class Prayers


  • public class Prayers
    extends java.lang.Object
    • Constructor Detail

      • Prayers

        @Deprecated
        public Prayers()
        Deprecated.
    • Method Detail

      • getPrayersInstance

        @Deprecated
        public static Prayers getPrayersInstance()
        Deprecated.
      • isActive

        public static boolean isActive​(Prayer prayer)
        Checks if the provided prayer is active
        Parameters:
        prayer - The prayer
        Returns:
        true if prayer is active
      • openTab

        public static boolean openTab()
        Opens the prayer Tab
        Returns:
        if the tab opened
      • isOpen

        public static boolean isOpen()
        Returns:
        if prayer tab is openTab
      • isQuickPrayerActive

        public static boolean isQuickPrayerActive()
        Returns:
        if quickprayer is active
      • getActive

        public static Prayer[] getActive()
        Returns:
        the active prayers
      • toggleQuickPrayer

        public static boolean toggleQuickPrayer​(boolean active)
        Toggles quick prayer
        Parameters:
        active - true or false
        Returns:
        true or false
      • toggle

        public static boolean toggle​(boolean active,
                                     Prayer prayer)
        Toggles prayer
        Parameters:
        active - true or false
        prayer - The prayer
        Returns:
        true or false
      • flick

        public static boolean flick​(Prayer prayer,
                                    int delay)
        Flicks prayer
        Parameters:
        prayer - The prayer
        delay - time to delay (ms)
        Returns:
        true or false