Example #1
0
 @Override
 public void dispose() {
   stage.dispose();
   game.dispose();
   skin.dispose();
   batch.dispose();
 }
Example #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();
   }
 }
Example #3
0
 @Override
 public void dispose() {
   super.dispose();
   AssetLoader.dispose();
 }
 @Override
 public void dispose() {
   super.dispose();
   batch.dispose();
 }
Example #5
0
 public void dispose() {
   super.dispose();
   Assets.dispose();
 }
Example #6
0
 @Override
 public void dispose() {
   super.dispose();
   Assets.unload();
 }