Class LevelModeScreen

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

public class LevelModeScreen extends Object
Screen for the Level Mode menu. Allows the player to start a new game (select a level) or return to the main menu.
  • Constructor Details

    • LevelModeScreen

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

    • getLevelTable

      public com.badlogic.gdx.scenes.scene2d.ui.Table getLevelTable()
      Returns the table containing the level mode UI.
      Returns:
      The level mode table.
    • getLevelSelectionScreen

      public LevelSelectionScreen getLevelSelectionScreen()
      Returns the LevelSelectionScreen associated with this screen.
      Returns:
      The LevelSelectionScreen.