Package de.tum.cit.fop.maze.UI
Class ProgressionOverlay
java.lang.Object
de.tum.cit.fop.maze.UI.ProgressionOverlay
Overlay for the character progression system.
Allows the player to spend XP to upgrade stats like health and speed.
-
Constructor Summary
ConstructorsConstructorDescriptionProgressionOverlay(MazeRunnerGame game, com.badlogic.gdx.scenes.scene2d.Stage stage, GameScreen gameScreen) Constructs a ProgressionOverlay. -
Method Summary
Modifier and TypeMethodDescriptionvoidHides the progression menu overlay.voidShows the progression menu overlay.
-
Constructor Details
-
ProgressionOverlay
public ProgressionOverlay(MazeRunnerGame game, com.badlogic.gdx.scenes.scene2d.Stage stage, GameScreen gameScreen) Constructs a ProgressionOverlay.- Parameters:
game- The main game instance.stage- The stage to add the overlay to.gameScreen- The game screen instance.
-
-
Method Details
-
showProgressionMenu
public void showProgressionMenu()Shows the progression menu overlay. Pauses the game while the menu is active. -
hideProgressionMenu
public void hideProgressionMenu()Hides the progression menu overlay. Resumes the game and checks for upgrade achievements.
-