|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AchievementLibrary.Tracker
A tracker object assigned to a particular player or account for a particular achievement, allowing the achievement to track progress if it needs to, or just providing a way to quickly query completion otherwise.
Method Summary | |
---|---|
AchievementLibrary.Tracker |
copyOf()
Returns a copy of this tracker, unattached to the tracker it is a copy of. |
AchievementLibrary.Achievement |
getAchievement()
The achievement to which this tracker belongs. |
int |
getCount(MOB mob)
Returns the count/score to show for the given mob. |
boolean |
isAchieved(MOB mob)
Returns true if the given mob has completed this achievement, even if the tattoo has not yet been assigned. |
boolean |
testBump(MOB mob,
int bumpNum,
java.lang.Object... parms)
For events which require tracked progress, this method is called to give this tracker a potential bump, after testing the given mob and the given arguments to see if the achievement deserves a bump in progress. |
Method Detail |
---|
AchievementLibrary.Achievement getAchievement()
boolean isAchieved(MOB mob)
mob
- the player being checked
boolean testBump(MOB mob, int bumpNum, java.lang.Object... parms)
mob
- the player who did something trackablebumpNum
- the amount to bump the progress byparms
- optional arguments unique to the Event
int getCount(MOB mob)
mob
- the mob to get a count for -- required ONLY for unsavable
AchievementLibrary.Tracker copyOf()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |