Example usage for Java com.badlogic.gdx.assets AssetManager fields, constructors, methods, implement or subclass
The text is from its open source code.
AssetManager() Creates a new AssetManager with all default loaders. | |
AssetManager(FileHandleResolver resolver) Creates a new AssetManager with all default loaders. |
void | dispose() Disposes all assets in the manager and stops all asynchronous loading. |
void | finishLoading() blocks until all assets are loaded. |
T | get(String fileName, Class |
T | get(String fileName) |
T | get(AssetDescriptor |
Array | getAssetNames() |
AssetLoader | getLoader(final Class Returns the default loader for the given type |
float | getProgress() |
boolean | isLoaded(String fileName, Class type) |
boolean | isLoaded(String fileName) |
void | load(String fileName, Class Adds the given asset to the loading queue of the AssetManager. |
void | load(AssetDescriptor desc) Adds the given asset to the loading queue of the AssetManager. |
void | load(String fileName, Class Adds the given asset to the loading queue of the AssetManager. |
void | setErrorListener(AssetErrorListener listener) Sets an AssetErrorListener to be invoked in case loading an asset failed. |
void | setLoaderParameters Sets a new AssetLoader for the given type. |
void | unload(String fileName) Removes the asset and all its dependencies, if they are not used by other assets. |
boolean | update() Updates the AssetManager, keeping it loading any assets in the preload queue. |