use of minechem.achievement.ElementAchievementPage in project Minechem by iopleke.
the class AchievementRegistry method registerElementAchievements.
/**
* Registers {@link minechem.achievement.ElementAchievement}s to the periodic table page
*/
public void registerElementAchievements() {
Collection<Achievement> achievements = elementsAchievementMap.values();
for (Achievement achievement : achievements) {
achievement.registerStat();
}
elementsPage = new ElementAchievementPage("Periodic Table", achievements.toArray(new Achievement[achievements.size()]));
AchievementPage.registerAchievementPage(elementsPage);
}
Aggregations