Package io.github.team6ENG.EscapeUni
Class CharacterSelectScreen
java.lang.Object
io.github.team6ENG.EscapeUni.CharacterSelectScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen,com.badlogic.gdx.utils.Disposable
Represents character select screen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Called when this screen should release all resources.voidhide()Called when this screen is no longer the current screen for aGame.voidpause()voidrender(float delta) Render screenvoidresize(int width, int height) voidresume()voidshow()Called when this screen becomes the current screen for aGame.
-
Constructor Details
-
CharacterSelectScreen
Initialises scene- Parameters:
game- instance of Main
-
-
Method Details
-
show
public void show()Description copied from interface:com.badlogic.gdx.ScreenCalled when this screen becomes the current screen for aGame.- Specified by:
showin interfacecom.badlogic.gdx.Screen
-
render
public void render(float delta) Render screen- Specified by:
renderin interfacecom.badlogic.gdx.Screen- Parameters:
delta- The time in seconds since the last render.
-
resize
public void resize(int width, int height) - Specified by:
resizein interfacecom.badlogic.gdx.Screen- See Also:
-
ApplicationListener.resize(int, int)
-
pause
public void pause()- Specified by:
pausein interfacecom.badlogic.gdx.Screen- See Also:
-
ApplicationListener.pause()
-
resume
public void resume()- Specified by:
resumein interfacecom.badlogic.gdx.Screen- See Also:
-
ApplicationListener.resume()
-
hide
public void hide()Description copied from interface:com.badlogic.gdx.ScreenCalled when this screen is no longer the current screen for aGame.- Specified by:
hidein interfacecom.badlogic.gdx.Screen
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.ScreenCalled when this screen should release all resources.- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable- Specified by:
disposein interfacecom.badlogic.gdx.Screen
-