Class DevConsole

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

public class DevConsole extends Object
Developer console for debugging and testing. Allows executing commands to modify game state and player stats.
  • Constructor Details

    • DevConsole

      public DevConsole(MazeRunnerGame game, GameScreen gameScreen, HUD hud, com.badlogic.gdx.scenes.scene2d.Stage stage, Player player)
      Constructs a DevConsole.
      Parameters:
      game - The main game instance.
      gameScreen - The game screen instance.
      hud - The HUD instance for UI updates.
      stage - The stage to add the console to.
      player - The player object to modify.
  • Method Details

    • hideConsole

      public void hideConsole()
      Hides the developer console.
    • showConsole

      public void showConsole()
      Shows the developer console.