@Override public void staticRender() { drawMessages( UIhandler.messages, Renderhandler.getScreenX(), -Renderhandler.getScreenY(), false); drawLevel(Worldhandler.getLevel()); if (RPWorld.sharedPaused) { drawMenu(UIhandler.getMenu()); } }
@Override public void create() { Renderinghandler.setup(); Worldhandler.load(); Editorhandler.setup(); Inputhandler inputhandler = new Inputhandler(); UIhandler.setup(); Scripthandler.setup(); input.setInputProcessor(inputhandler); }
public void updateSpecific() { switch (state) { case DEFAULT: break; case MENU: break; case EDITOR: Editorhandler.update(); break; case GAME: Worldhandler.update(); break; } }