Class VictoryScreen

java.lang.Object
de.tum.cit.ase.maze.screens.VictoryScreen
All Implemented Interfaces:
com.badlogic.gdx.Screen

public class VictoryScreen extends Object implements com.badlogic.gdx.Screen
The VictoryScreen class is responsible for displaying the victory screen of the game. It extends the LibGDX Screen class and sets up the UI components for the victory screen.
  • Constructor Details

    • VictoryScreen

      public VictoryScreen(MazeRunnerGame game)
      Constructor for VictoryScreen. Sets up the camera, viewport, stage, and UI elements.
      Parameters:
      game - The main game class, used to access global resources and methods.
  • Method Details

    • show

      public void show()
      Specified by:
      show in interface com.badlogic.gdx.Screen
    • render

      public void render(float delta)
      Specified by:
      render in interface com.badlogic.gdx.Screen
    • resize

      public void resize(int width, int height)
      Specified by:
      resize in interface com.badlogic.gdx.Screen
    • pause

      public void pause()
      Specified by:
      pause in interface com.badlogic.gdx.Screen
    • resume

      public void resume()
      Specified by:
      resume in interface com.badlogic.gdx.Screen
    • hide

      public void hide()
      Specified by:
      hide in interface com.badlogic.gdx.Screen
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.Screen