Package com.runemate.game.api.osrs.local
Enum AchievementDiary
- java.lang.Object
-
- java.lang.Enum<AchievementDiary>
-
- com.runemate.game.api.osrs.local.AchievementDiary
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AchievementDiary>
public enum AchievementDiary extends java.lang.Enum<AchievementDiary>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AchievementDiary.Difficulty
Type representing the difficulties for each Achievement Diary.
-
Enum Constant Summary
Enum Constants Enum Constant Description ARDOUGNE
DESERT
FALADOR
FREMENNIK
KANDARIN
KARAMJA
KOUREND_AND_KEBOS
LUMBRIDGE
MORYTANIA
VARROCK
WESTERN_PROVINCES
WILDERNESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isComplete(@NonNull AchievementDiary.Difficulty difficulty)
Checks if this achievement diary is completed on the given difficulty.boolean
isEasyComplete()
boolean
isEliteComplete()
boolean
isHardComplete()
boolean
isMediumComplete()
static AchievementDiary
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AchievementDiary[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARDOUGNE
public static final AchievementDiary ARDOUGNE
-
DESERT
public static final AchievementDiary DESERT
-
FALADOR
public static final AchievementDiary FALADOR
-
FREMENNIK
public static final AchievementDiary FREMENNIK
-
KANDARIN
public static final AchievementDiary KANDARIN
-
KARAMJA
public static final AchievementDiary KARAMJA
-
KOUREND_AND_KEBOS
public static final AchievementDiary KOUREND_AND_KEBOS
-
LUMBRIDGE
public static final AchievementDiary LUMBRIDGE
-
MORYTANIA
public static final AchievementDiary MORYTANIA
-
VARROCK
public static final AchievementDiary VARROCK
-
WESTERN_PROVINCES
public static final AchievementDiary WESTERN_PROVINCES
-
WILDERNESS
public static final AchievementDiary WILDERNESS
-
-
Method Detail
-
values
public static AchievementDiary[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AchievementDiary c : AchievementDiary.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AchievementDiary valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isEasyComplete
public boolean isEasyComplete()
-
isMediumComplete
public boolean isMediumComplete()
-
isHardComplete
public boolean isHardComplete()
-
isEliteComplete
public boolean isEliteComplete()
-
isComplete
public boolean isComplete(@NonNull @NonNull AchievementDiary.Difficulty difficulty)
Checks if this achievement diary is completed on the given difficulty.- Parameters:
difficulty
- difficulty of the achievement diary.- Returns:
- true if complete, false otherwise
-
-