Example usage for com.badlogic.gdx.assets AssetManager dispose

List of usage examples for com.badlogic.gdx.assets AssetManager dispose

Introduction

In this page you can find the example usage for com.badlogic.gdx.assets AssetManager dispose.

Prototype

public synchronized void dispose() 

Source Link

Document

Disposes all assets in the manager and stops all asynchronous loading.

Usage

From source file:com.forerunnergames.peril.client.assets.MultiSourceAssetManager.java

License:Open Source License

@Override
public synchronized void dispose() {
    for (final com.badlogic.gdx.assets.AssetManager assetManager : libGdxAssetManagers) {
        assetManager.dispose();
    }/*from   ww w  .j  av  a  2  s .c  o  m*/

    fileNamesToManagers.clear();
}