WarpPI/core/src/main/java/it/cavallium/warppi/gui/GraphicalInterface.java

18 lines
413 B
Java
Raw Normal View History

package it.cavallium.warppi.gui;
2018-03-17 00:09:40 +01:00
public interface GraphicalInterface {
2018-09-22 11:17:30 +02:00
void create() throws InterruptedException;
2018-09-22 11:17:30 +02:00
void initialize() throws InterruptedException;
2019-10-25 13:58:49 +02:00
void initializeGraphic(ScreenContext ctx) throws InterruptedException;
2018-05-12 21:18:29 +02:00
2019-10-25 13:58:49 +02:00
void render(RenderContext ctx);
2018-05-12 21:18:29 +02:00
2019-10-25 13:58:49 +02:00
void renderTopmost(RenderContext ctx);
2018-05-12 21:18:29 +02:00
2019-10-25 13:58:49 +02:00
void beforeRender(ScreenContext ctx, float dt);
2018-05-12 21:18:29 +02:00
2018-09-22 11:17:30 +02:00
boolean mustBeRefreshed();
2018-03-17 00:09:40 +01:00
}