예제 #1
0
  @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();
  }
예제 #2
0
 /** Called right before dying to close all resources */
 @Override
 public void dispose() {
   super.dispose();
   System.out.println(goodbye());
   Mouse.setGrabbed(false);
 }