Package de.tum.cit.fop.maze.UI
Class DevConsole
java.lang.Object
de.tum.cit.fop.maze.UI.DevConsole
Developer console for debugging and testing.
Allows executing commands to modify game state and player stats.
-
Constructor Summary
ConstructorsConstructorDescriptionDevConsole(MazeRunnerGame game, GameScreen gameScreen, HUD hud, com.badlogic.gdx.scenes.scene2d.Stage stage, Player player) Constructs a DevConsole. -
Method Summary
Modifier and TypeMethodDescriptionvoidHides the developer console.voidShows the developer console.
-
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.
-