Class AchievementProgression

java.lang.Object
com.csse3200.game.achievements.AchievementProgression

public final class AchievementProgression extends Object
Thin helper that routes progress events into AchievementService. Keep this static so areas/components can call it without holding state.
  • Method Details

    • onLevelStart

      public static void onLevelStart()
      Call when a level starts (resets per-level flags).
    • onLevelComplete

      public static void onLevelComplete(String levelTag)
      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.