예제 #1
0
 @Override
 public void dispose() {
   stage.dispose();
   game.dispose();
   skin.dispose();
   batch.dispose();
 }
예제 #2
0
 @Override
 /** Dispose all the resources. */
 public void dispose() {
   super.dispose();
   for (Texture t : textureMap.values()) {
     t.dispose();
   }
   textureMap.clear();
   regionMap.clear();
   for (BitmapFont f : fontMap.values()) {
     f.dispose();
   }
   for (Sound s : soundMap.values()) {
     s.dispose();
   }
 }
예제 #3
0
 @Override
 public void dispose() {
   super.dispose();
   AssetLoader.dispose();
 }
 @Override
 public void dispose() {
   super.dispose();
   batch.dispose();
 }
예제 #5
0
 public void dispose() {
   super.dispose();
   Assets.dispose();
 }
예제 #6
0
 @Override
 public void dispose() {
   super.dispose();
   Assets.unload();
 }