Package | Description |
---|---|
eu.wauz.wauzcore.system.achievements |
This package contains classes, that are used for the achievement system.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<WauzAchievementType,java.util.Map<java.lang.String,WauzAchievement>> |
WauzAchievement.achievementGoalMap
A map with mappings of non generic achievement goals to their achievements, indexed by type.
|
private static java.util.Map<WauzAchievementType,java.util.List<WauzAchievement>> |
WauzAchievement.achievementMap
A map with lists of achievements, indexed by type.
|
Modifier and Type | Method and Description |
---|---|
static WauzAchievement |
WauzAchievement.getAchievementForGoal(WauzAchievementType type,
java.lang.String goal)
Gets a non generic achievement for the given goal, if existant.
|
static WauzAchievement |
WauzAchievement.getCurrentAchievementStage(org.bukkit.entity.Player player,
WauzAchievementType type)
Gets the highest achievement of this type, that the given player earned.
|
static WauzAchievement |
WauzAchievement.getNextAchievementStage(org.bukkit.entity.Player player,
WauzAchievementType type)
Gets the next achievement of this type, that the player has not earned yet.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<WauzAchievement> |
WauzAchievement.getAchievementsOfType(WauzAchievementType type)
Gets all achievements of the given type.
|