Package de.tum.cit.fop.maze.UI
Class EndlessModeScreen
java.lang.Object
de.tum.cit.fop.maze.UI.EndlessModeScreen
Screen for the Endless Mode menu.
Allows the player to start a new endless game, continue an existing one, or view statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionEndlessModeScreen(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, MenuScreen menuScreen) Constructs an EndlessModeScreen. -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.scenes.scene2d.ui.TableReturns the table containing the endless mode UI.
-
Constructor Details
-
EndlessModeScreen
public EndlessModeScreen(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, MenuScreen menuScreen) Constructs an EndlessModeScreen.- 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
-
getEndlessTable
public com.badlogic.gdx.scenes.scene2d.ui.Table getEndlessTable()Returns the table containing the endless mode UI.- Returns:
- The endless mode table.
-