2018-09-02 13:36:49 +02:00
|
|
|
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-10-23 17:28:05 +02:00
|
|
|
|
2018-09-22 11:17:30 +02:00
|
|
|
void initialize() throws InterruptedException;
|
2018-10-23 17:28:05 +02:00
|
|
|
|
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
|
|
|
}
|