Package org.rspeer.game.component.tdi
Class Prayers
- java.lang.Object
-
- org.rspeer.game.component.tdi.Prayers
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrayers.Quick
-
Constructor Summary
Constructors Constructor Description Prayers()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanflick(Collection<Prayer> prayers)static booleanflick(Prayer... prayers)static List<Prayer>getActive()static PrayergetActiveOverhead()static Prayer.BookgetBook()static intgetPercent()static intgetPoints()static intgetTotalPoints()static booleanisActive(Collection<Prayer> prayers)static booleanisActive(Prayer... prayers)static booleanisUnlocked(Prayer prayer)static booleanselect(boolean unchecked, Collection<Prayer> prayers)static booleanselect(boolean unchecked, Prayer... prayers)static booleantoggle(boolean on, Prayer prayer)Deprecated.because prayer states are unsafe, particularly with things like flicking.
-
-
-
Method Detail
-
getBook
public static Prayer.Book getBook()
-
getActiveOverhead
public static Prayer getActiveOverhead()
-
flick
public static boolean flick(Collection<Prayer> prayers)
-
flick
public static boolean flick(Prayer... prayers)
-
select
public static boolean select(boolean unchecked, Collection<Prayer> prayers)
-
select
public static boolean select(boolean unchecked, Prayer... prayers)- Parameters:
unchecked-trueto skip validation of active prayer states
-
isActive
public static boolean isActive(Collection<Prayer> prayers)
-
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)
-
-