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.ScreenThe 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 voiddispose()voidhide()voidpause()voidrender(float delta)voidresize(int width, int height)voidresume()voidshow()
-
-
-
Constructor Detail
-
GameScreen
public GameScreen(PiazzaPanicGame game)
-
-
Method Detail
-
show
public void show()
- Specified by:
showin interfacecom.badlogic.gdx.Screen
-
render
public void render(float delta)
- Specified by:
renderin interfacecom.badlogic.gdx.Screen
-
resize
public void resize(int width, int height)- Specified by:
resizein interfacecom.badlogic.gdx.Screen
-
pause
public void pause()
- Specified by:
pausein interfacecom.badlogic.gdx.Screen
-
resume
public void resume()
- Specified by:
resumein interfacecom.badlogic.gdx.Screen
-
hide
public void hide()
- Specified by:
hidein interfacecom.badlogic.gdx.Screen
-
dispose
public void dispose()
- Specified by:
disposein interfacecom.badlogic.gdx.Screen
-
-