Class LevelSelectionScreen

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

public class LevelSelectionScreen extends Object
Screen for selecting a level to play. Displays a list of available levels loaded from the maps directory.
  • Constructor Details

    • LevelSelectionScreen

      public LevelSelectionScreen(com.badlogic.gdx.scenes.scene2d.Stage stage, MazeRunnerGame game, LevelModeScreen levelyModeScreen, MenuScreen menuScreen)
      Constructs a LevelSelectionScreen.
      Parameters:
      stage - The stage to add actors to.
      game - The main game instance.
      levelyModeScreen - The parent level mode screen.
      menuScreen - The main menu screen for accessing the sound controller.
  • Method Details

    • getLevelSelectionTable

      public com.badlogic.gdx.scenes.scene2d.ui.Table getLevelSelectionTable()
      Returns the table containing the level selection UI.
      Returns:
      The level selection table.