public void dispose() { super.dispose(); if (texture != null) { texture.dispose(); } if (batch != null) { batch.dispose(); } }
@Override public void dispose() { super.dispose(); if (print != null) { print.dispose(); print = null; } if (animation != null) { animation.dispose(); animation = null; } }