@Override public void cleanup() { localRootNode.removeLight(ai); localRootNode.removeLight(dl); this.app.getTimer().reset(); rootNode.detachChild(localRootNode); viewPort.removeProcessor(niftyDisplay); audio.stop(); nifty.exit(); cam.setRotation(Quaternion.IDENTITY); cam.setLocation(Vector3f.ZERO); cam.setViewPort(0, 1, 0, 1); super.cleanup(); }