Class AchievementUI

java.lang.Object
de.tum.cit.fop.maze.UI.AchievementUI

public class AchievementUI extends Object
UI component for displaying achievement notifications. Handles the visual presentation and timing of achievement popups.
  • Constructor Details

    • AchievementUI

      public AchievementUI(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, SoundController soundController)
      Constructs an AchievementUI.
      Parameters:
      stage - The stage to add actors to.
      game - The main game instance.
      soundController - The sound controller for playing achievement sounds.
  • Method Details

    • startAchievement

      public void startAchievement()
      Triggers the "Wake up" achievement.
    • endAchievement

      public void endAchievement()
      Triggers the "And so it ends" achievement.
    • firstBloodAchievement

      public void firstBloodAchievement()
      Triggers the "First blood" achievement.
    • upgradesAchievement

      public void upgradesAchievement()
      Triggers the "Graph Dracula" achievement.
    • killsAchievement

      public void killsAchievement()
      Triggers the "Thirst for blood" achievement.
    • invisAchievement

      public void invisAchievement()
      Triggers the "Now you see me, now you don't" achievement.
    • consoleAchievement

      public void consoleAchievement()
      Triggers the "Cheater!" achievement.
    • pointsAchievement

      public void pointsAchievement()
      Triggers the "Gamer" achievement.