コード例 #1
0
ファイル: LMap2D.java プロジェクト: darragh-murphy/LGame
 public void dispose() {
   super.dispose();
   if (texture != null) {
     texture.dispose();
   }
   if (batch != null) {
     batch.dispose();
   }
 }
コード例 #2
0
ファイル: LMessage.java プロジェクト: 207h2Flogintvg/LGame
 @Override
 public void dispose() {
   super.dispose();
   if (print != null) {
     print.dispose();
     print = null;
   }
   if (animation != null) {
     animation.dispose();
     animation = null;
   }
 }