Package io.github.team6ENG.EscapeUni
Class LangwithScreen
java.lang.Object
io.github.team6ENG.EscapeUni.LangwithScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen,com.badlogic.gdx.utils.Disposable
Represents the interior of the Ron Cooke building.
Displays a black background with a welcome message.
-
Constructor Summary
ConstructorsConstructorDescriptionLangwithScreen(Main game, BuildingManager buildingManager, GameScreen gameScreen) -
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) Called when the screen should render itself.voidresize(int width, int height) voidresume()voidshow()Called when this screen becomes the current screen for aGame.
-
Constructor Details
-
LangwithScreen
-
-
Method Details
-
render
public void render(float delta) Description copied from interface:com.badlogic.gdx.ScreenCalled when the screen should render itself.- Specified by:
renderin interfacecom.badlogic.gdx.Screen- Parameters:
delta- The time in seconds since the last render.
-
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
-
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
-