WarpPI/core/src/main/java/it/cavallium/warppi/gui/screens/EmptyScreen.java

49 lines
957 B
Java
Raw Normal View History

package it.cavallium.warppi.gui.screens;
2016-09-02 20:32:37 +02:00
2018-10-05 16:00:15 +02:00
import it.cavallium.warppi.gui.HistoryBehavior;
2019-11-01 18:04:01 +01:00
import it.cavallium.warppi.gui.RenderContext;
import it.cavallium.warppi.gui.ScreenContext;
2018-10-05 16:00:15 +02:00
2016-09-02 20:32:37 +02:00
public class EmptyScreen extends Screen {
public float endLoading;
public EmptyScreen() {
super();
2018-10-05 16:00:15 +02:00
historyBehavior = HistoryBehavior.DONT_KEEP_IN_HISTORY;
2016-09-02 20:32:37 +02:00
}
2016-09-02 20:32:37 +02:00
@Override
public void created() throws InterruptedException {
endLoading = 0;
}
@Override
2018-03-17 00:09:40 +01:00
public void initialized() throws InterruptedException {}
2016-09-02 20:32:37 +02:00
@Override
2019-11-01 18:04:01 +01:00
public void graphicInitialized(ScreenContext ctx) throws InterruptedException {}
2016-09-02 20:32:37 +02:00
@Override
2019-11-01 18:04:01 +01:00
public void render(RenderContext ctx) {
2016-09-02 20:32:37 +02:00
// TODO Auto-generated method stub
}
@Override
2019-11-01 18:04:01 +01:00
public void beforeRender(ScreenContext ctx, final float dt) {
2016-09-02 20:32:37 +02:00
}
@Override
public boolean mustBeRefreshed() {
return true;
}
2018-10-04 12:38:54 +02:00
@Override
public String getSessionTitle() {
return "empty";
}
2016-09-02 20:32:37 +02:00
}