Package com.csse3200.game.screens
Class MiniScreen
java.lang.Object
com.badlogic.gdx.ScreenAdapter
com.csse3200.game.screens.MiniScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen
public class MiniScreen
extends com.badlogic.gdx.ScreenAdapter
The MiniScreen class represents a screen in the game that displays a mini-screen with initial content.
It initializes game services, loads assets, and creates the user interface for the mini-screen.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.badlogic.gdx.ScreenAdapter
hide, pause, resume, show
-
Constructor Details
-
MiniScreen
Constructs a MiniScreen instance.- Parameters:
game
- The GdxGame instance that manages the game.
-
-
Method Details
-
render
public void render(float delta) - Specified by:
render
in interfacecom.badlogic.gdx.Screen
- Overrides:
render
in classcom.badlogic.gdx.ScreenAdapter
-
resize
public void resize(int width, int height) - Specified by:
resize
in interfacecom.badlogic.gdx.Screen
- Overrides:
resize
in classcom.badlogic.gdx.ScreenAdapter
-
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.Screen
- Overrides:
dispose
in classcom.badlogic.gdx.ScreenAdapter
-