Package com.csse3200.game.screens
Class SettingsScreen
java.lang.Object
com.badlogic.gdx.ScreenAdapter
com.csse3200.game.screens.SettingsScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen
public class SettingsScreen
extends com.badlogic.gdx.ScreenAdapter
The game screen containing the settings.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.badlogic.gdx.ScreenAdapter
hide, pause, resume, show
-
Constructor Details
-
SettingsScreen
-
-
Method Details
-
render
public void render(float delta) Renders the main gameplay screen.- Specified by:
render
in interfacecom.badlogic.gdx.Screen
- Overrides:
render
in classcom.badlogic.gdx.ScreenAdapter
- Parameters:
delta
- The time elapsed since the last frame in seconds.
-
resize
public void resize(int width, int height) Called when the game window is resized.- Specified by:
resize
in interfacecom.badlogic.gdx.Screen
- Overrides:
resize
in classcom.badlogic.gdx.ScreenAdapter
- Parameters:
width
- The new width of the window.height
- The new height of the window.
-
dispose
public void dispose()Disposes of resources and services associated with the main menu screen. This method performs cleanup tasks such as disposing of the renderer, unloading assets, disposing of the render service, disposing of the entity service, disposing of the batch, and clearing the service locator.- Specified by:
dispose
in interfacecom.badlogic.gdx.Screen
- Overrides:
dispose
in classcom.badlogic.gdx.ScreenAdapter
-