@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 static void changeState(State s) { state = s; UIhandler.reset(); }
public void updateGeneral() { Scripthandler.update(); UIhandler.update(); Renderinghandler.render(); }
@Override public void dispose() { Renderinghandler.dispose(); Assethandler.dispose(); UIhandler.reset(); }
public static void changeState(String s) { state = State.parseState(s); UIhandler.reset(); }