Example #1
0
 public void dispose() {
     for (Animation anim : this.animations) {
         anim.dispose();
     }
     this.animations.clear();
     this.currAnimation = null;
 }
Example #2
0
 public void dispose() {
   if (gifDecoder != null) {
     gifDecoder = null;
   }
   if (animation != null) {
     animation.dispose();
     animation = null;
   }
 }