Package de.tum.cit.fop.maze.UI
Class SettingsScreen
java.lang.Object
de.tum.cit.fop.maze.UI.SettingsScreen
Screen for game settings.
Allows the player to change resolution, fullscreen mode, and key bindings.
-
Constructor Summary
ConstructorsConstructorDescriptionSettingsScreen(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, MenuScreen menuScreen) Constructs a SettingsScreen. -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.scenes.scene2d.ui.TablegetTable()Returns the table containing the settings UI.
-
Constructor Details
-
SettingsScreen
public SettingsScreen(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, MenuScreen menuScreen) Constructs a SettingsScreen.- Parameters:
stage- The stage to add actors to.game- The main game instance.menuScreen- The main menu screen for navigation.
-
-
Method Details
-
getTable
public com.badlogic.gdx.scenes.scene2d.ui.Table getTable()Returns the table containing the settings UI.- Returns:
- The settings table.
-