Beispiel #1
0
 public static void restart() {
   dispose();
   for (Scene scene : new ArrayList<Scene>(scenes)) {
     scenes.remove(scene);
     scene.end();
   }
   if (profiler.scene != null) profiler.scene.end();
   init();
   scenes.add(firstScene);
 }
Beispiel #2
0
 @Override
 public void dispose() {
   Bdx.dispose();
 }