Package cs.eng1.piazzapanic.screens
Class GameScreen
- java.lang.Object
-
- cs.eng1.piazzapanic.screens.GameScreen
-
- All Implemented Interfaces:
com.badlogic.gdx.Screen
public class GameScreen extends java.lang.Object implements com.badlogic.gdx.Screen
The screen which can be used to load the tilemap and keep track of everything happening in the game. It does all the initialization and then lets each actor do its actions based on the current frame.
-
-
Constructor Summary
Constructors Constructor Description GameScreen(PiazzaPanicGame game)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
void
hide()
void
pause()
void
render(float delta)
void
resize(int width, int height)
void
resume()
void
show()
-
-
-
Constructor Detail
-
GameScreen
public GameScreen(PiazzaPanicGame game)
-
-
Method Detail
-
show
public void show()
- Specified by:
show
in interfacecom.badlogic.gdx.Screen
-
render
public void render(float delta)
- Specified by:
render
in interfacecom.badlogic.gdx.Screen
-
resize
public void resize(int width, int height)
- Specified by:
resize
in interfacecom.badlogic.gdx.Screen
-
pause
public void pause()
- Specified by:
pause
in interfacecom.badlogic.gdx.Screen
-
resume
public void resume()
- Specified by:
resume
in interfacecom.badlogic.gdx.Screen
-
hide
public void hide()
- Specified by:
hide
in interfacecom.badlogic.gdx.Screen
-
dispose
public void dispose()
- Specified by:
dispose
in interfacecom.badlogic.gdx.Screen
-
-