@Override protected void update() { super.update(); // TODO // if(KeyBindings.SYS_SCREENSHOT.pressedOnce()) // Screenshot.takeScreenshot(windowWidth, windowHeight); // FIXME get out of fullscreen too!! // if(KeyBindings.SYS_FULLSCREEN.pressedOnce()){ // Gdx.graphics.setDisplayMode(Gdx.graphics.getDesktopDisplayMode()); // } if (builder != null) builder.update(); }
/** Called right before dying to close all resources */ @Override public void dispose() { super.dispose(); System.out.println(goodbye()); Mouse.setGrabbed(false); }