@Override public void dispose() { if (cache != null) cache.dispose(); for (TextureAtlas atlas : atlases.values()) atlas.dispose(); watcher.removeListener(this); }