Package com.csse3200.game.screens
Class InitialScreen
java.lang.Object
com.badlogic.gdx.ScreenAdapter
com.csse3200.game.screens.InitialScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen
public class InitialScreen
extends com.badlogic.gdx.ScreenAdapter
The initial screen of the game, responsible for loading assets and creating UI elements.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.badlogic.gdx.ScreenAdapter
hide, pause, resume, show
-
Constructor Details
-
InitialScreen
Creates a new instance of the InitialScreen.- Parameters:
game
- The main game instance.
-
-
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
-