Package com.prineside.tdi2
Class Screen
java.lang.Object
com.prineside.tdi2.Screen
- All Implemented Interfaces:
com.badlogic.gdx.Screen
- Direct Known Subclasses:
AboutScreen,AccountScreen,AccountSettingsScreen,CrashReportScreen,CustomMapSelectScreen,GameScreen,HotkeyScreen,LanguageSelectScreen,LevelSelectScreen,LoadingScreen,MainMenuScreen,MapEditorScreen,MoneyScreen,ResearchesScreen,SettingsScreen,StatisticsScreen,TicTacToeScreen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Called when this screen should release all resources.abstract voiddraw(float delta) 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
-
Screen
public Screen()
-
-
Method Details
-
draw
public abstract void draw(float delta) -
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.
-
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()
-
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
-
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.Screen
-