Package de.tum.cit.ase.maze.screens
Class DefeatScreen
java.lang.Object
de.tum.cit.ase.maze.screens.DefeatScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen
The DefeatScreen class displays the defeat screen when the player loses the game.
It implements the Screen interface and provides methods for showing, rendering, resizing, pausing, resuming, hiding, and disposing the screen.
-
Constructor Summary
ConstructorDescriptionDefeatScreen
(MazeRunnerGame game) Creates and displays the defeat screen when the player loses the game. -
Method Summary
-
Constructor Details
-
DefeatScreen
Creates and displays the defeat screen when the player loses the game.
-
-
Method Details
-
show
public void show()- Specified by:
show
in interfacecom.badlogic.gdx.Screen
-
render
public void render(float delta) - Specified by:
render
in interfacecom.badlogic.gdx.Screen
-
resize
public void resize(int width, int height) - Specified by:
resize
in interfacecom.badlogic.gdx.Screen
-
pause
public void pause()- Specified by:
pause
in interfacecom.badlogic.gdx.Screen
-
resume
public void resume()- Specified by:
resume
in interfacecom.badlogic.gdx.Screen
-
hide
public void hide()- Specified by:
hide
in interfacecom.badlogic.gdx.Screen
-
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.Screen
-