Package com.mygdx.auber.Screens
Class GameOverScreen
- java.lang.Object
-
- com.mygdx.auber.Screens.GameOverScreen
-
- All Implemented Interfaces:
com.badlogic.gdx.Screen
public final class GameOverScreen extends java.lang.Object implements com.badlogic.gdx.Screen
-
-
Constructor Summary
Constructors Constructor Description GameOverScreen(Auber game, boolean win)Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Method implemented from abstract superclass.voidhide()Method implemented from abstract superclass.voidpause()Method implemented from abstract superclass.voidrender(float delta)Called every frame to render this screen.voidresize(int width, int height)Method implemented from abstract superclass.voidresume()Method implemented from abstract superclass.voidshow()Method implemented from abstract superclass.
-
-
-
Constructor Detail
-
GameOverScreen
public GameOverScreen(Auber game, boolean win)
Class constructor.- Parameters:
game- The instance of the game that is running.win- Whether the player won or not.
-
-
Method Detail
-
show
public void show()
Method implemented from abstract superclass.- Specified by:
showin interfacecom.badlogic.gdx.Screen
-
render
public void render(float delta)
Called every frame to render this screen.- Specified by:
renderin interfacecom.badlogic.gdx.Screen- Parameters:
delta- The time in seconds between the previous frame and this one.
-
resize
public void resize(int width, int height)Method implemented from abstract superclass.- Specified by:
resizein interfacecom.badlogic.gdx.Screen
-
pause
public void pause()
Method implemented from abstract superclass.- Specified by:
pausein interfacecom.badlogic.gdx.Screen
-
resume
public void resume()
Method implemented from abstract superclass.- Specified by:
resumein interfacecom.badlogic.gdx.Screen
-
hide
public void hide()
Method implemented from abstract superclass.- Specified by:
hidein interfacecom.badlogic.gdx.Screen
-
dispose
public void dispose()
Method implemented from abstract superclass.- Specified by:
disposein interfacecom.badlogic.gdx.Screen
-
-