Package com.deco2800.game.achievements
Class AchievementFactory
java.lang.Object
com.deco2800.game.achievements.AchievementFactory
Creates a fresh list of game achievements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a map for custom stat achievements milestones.static List<Achievement>
Creates all initial achievements in game
-
Constructor Details
-
AchievementFactory
public AchievementFactory()
-
-
Method Details
-
createCustomStatAchievementMileStones
Creates a map for custom stat achievements milestones. The keys are achievement ids and the list values are milestones- Returns:
- map of stat milestones
-
createInitialAchievements
Creates all initial achievements in game- Returns:
- list of initial achievements
-