Package com.csse3200.game.achievements
Class AchievementProgression
java.lang.Object
com.csse3200.game.achievements.AchievementProgression
Thin helper that routes progress events into AchievementService.
Keep this static so areas/components can call it without holding state.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidonLevelComplete(String levelTag) Call when a level completes successfully.static voidCall when a level starts (resets per-level flags).static voidonSprintTick(float dt) Call once per frame while sprinting.static voidCall when stamina hits zero at any time during a level.
-
Method Details
-
onLevelStart
public static void onLevelStart()Call when a level starts (resets per-level flags). -
onLevelComplete
Call when a level completes successfully. -
onSprintTick
public static void onSprintTick(float dt) Call once per frame while sprinting. -
onStaminaExhausted
public static void onStaminaExhausted()Call when stamina hits zero at any time during a level.
-