Package org.rspeer.game.component.tdi
Class Achievement.Combat
- java.lang.Object
-
- org.rspeer.game.component.tdi.Achievement.Combat
-
- Enclosing interface:
- Achievement
public static class Achievement.Combat extends Object
-
-
Constructor Summary
Constructors Constructor Description Combat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCompletedTaskCount()
static int
getCompletedTaskCount(Achievement.Tier tier)
static boolean
isComplete(Achievement.Tier tier)
static boolean
isComplete(Achievement.Tier tier, boolean strict)
-
-
-
Method Detail
-
getCompletedTaskCount
public static int getCompletedTaskCount()
-
getCompletedTaskCount
public static int getCompletedTaskCount(Achievement.Tier tier)
-
isComplete
public static boolean isComplete(Achievement.Tier tier, boolean strict)
- Parameters:
tier
- The tier of combat achievements to check forstrict
- A value oftrue
means that the achievement tier should be fully completed. A value of false allows completion to the point that rewards can be claimed- Returns:
true
If you have completed the given tier of combat achievements.
-
isComplete
public static boolean isComplete(Achievement.Tier tier)
- Parameters:
tier
- The tier of combat achievements to check for- Returns:
true
If you have "completed" the given tier of combat achievements. Completion in this case is defined by completing enough tasks to claim the rewards, not necessarily completing every task in that tier. Equivalent to#isComplete(Tier, false)
-
-