Class LeaderboardScreen

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

public class LeaderboardScreen extends Object
Screen that displays the leaderboard with high scores. Shows the top scores achieved by the player.
  • Constructor Details

    • LeaderboardScreen

      public LeaderboardScreen(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, MenuScreen menuScreen)
      Constructs a LeaderboardScreen.
      Parameters:
      stage - The stage to add actors to.
      game - The main game instance.
      menuScreen - The main menu screen for navigation and sound control.
  • Method Details

    • getLeaderboardTable

      public com.badlogic.gdx.scenes.scene2d.ui.Table getLeaderboardTable()
      Returns the table containing the leaderboard UI.
      Returns:
      The leaderboard table.