Package com.csse3200.game.screens
Class StoryScreen
java.lang.Object
com.badlogic.gdx.ScreenAdapter
com.csse3200.game.screens.StoryScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen
public class StoryScreen
extends com.badlogic.gdx.ScreenAdapter
Screen that displays a story with images and text.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.badlogic.gdx.ScreenAdapter
hide, pause, resume
-
Constructor Details
-
StoryScreen
Creates a new StoryScreen.- Parameters:
game
- The game instance
-
-
Method Details
-
show
public void show()- Specified by:
show
in interfacecom.badlogic.gdx.Screen
- Overrides:
show
in classcom.badlogic.gdx.ScreenAdapter
-
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
-