@Override
 public void staticRender() {
   drawMessages(
       UIhandler.messages, Renderhandler.getScreenX(), -Renderhandler.getScreenY(), false);
   drawLevel(Worldhandler.getLevel());
   if (RPWorld.sharedPaused) {
     drawMenu(UIhandler.getMenu());
   }
 }
Example #2
0
 @Override
 public void create() {
   Renderinghandler.setup();
   Worldhandler.load();
   Editorhandler.setup();
   Inputhandler inputhandler = new Inputhandler();
   UIhandler.setup();
   Scripthandler.setup();
   input.setInputProcessor(inputhandler);
 }
Example #3
0
 public static void changeState(State s) {
   state = s;
   UIhandler.reset();
 }
Example #4
0
 public void updateGeneral() {
   Scripthandler.update();
   UIhandler.update();
   Renderinghandler.render();
 }
Example #5
0
 @Override
 public void dispose() {
   Renderinghandler.dispose();
   Assethandler.dispose();
   UIhandler.reset();
 }
Example #6
0
 public static void changeState(String s) {
   state = State.parseState(s);
   UIhandler.reset();
 }