Class LoadingScreen
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.WEScreen
-
- com.bombinggames.wurfelengine.core.loading.LoadingScreen
-
public class LoadingScreen extends WEScreen
Class under public domain. Modified for own needs. This class renders is the default loading screen of wurfel engine.
-
-
Constructor Summary
Constructors Constructor Description LoadingScreen()
To load custom files overwrite #customLoading
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customLoading(com.badlogic.gdx.assets.AssetManager manager)
override and add items viaAssetManager.load(java.lang.String, java.lang.Class)
void
dispose()
void
hide()
void
pause()
void
renderImpl(float dt)
Main method which get's called every frame.void
resize(int width, int height)
void
resume()
void
show()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class com.bombinggames.wurfelengine.core.WEScreen
addButton, enterSelection, getButtonAmount, getSelection, render, select
-
-
-
-
Method Detail
-
customLoading
public void customLoading(com.badlogic.gdx.assets.AssetManager manager)
override and add items viaAssetManager.load(java.lang.String, java.lang.Class)
- Parameters:
manager
-
-
show
public void show()
-
resize
public void resize(int width, int height)
-
renderImpl
public void renderImpl(float dt)
Description copied from class:WEScreen
Main method which get's called every frame. Should be split up in data managment and data displaying.- Specified by:
renderImpl
in classWEScreen
- Parameters:
dt
- time in ms
-
hide
public void hide()
-
pause
public void pause()
-
resume
public void resume()
-
dispose
public void dispose()
-
-