Package de.tum.cit.fop.maze.UI
Class LeaderboardScreen
java.lang.Object
de.tum.cit.fop.maze.UI.LeaderboardScreen
Screen that displays the leaderboard with high scores.
Shows the top scores achieved by the player.
-
Constructor Summary
ConstructorsConstructorDescriptionLeaderboardScreen(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, MenuScreen menuScreen) Constructs a LeaderboardScreen. -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.scenes.scene2d.ui.TableReturns the table containing the leaderboard UI.
-
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.
-