com.badlogic.gdx.assets.loaders
Class TileAtlasLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>
com.badlogic.gdx.assets.loaders.TileAtlasLoader
public class TileAtlasLoader
- extends AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>
AssetLoader
for TileAtlas
instances.
- Author:
- mzechner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TileAtlasLoader
public TileAtlasLoader(FileHandleResolver resolver)
loadAsync
public void loadAsync(AssetManager manager,
java.lang.String fileName,
TileAtlasLoader.TileAtlasParameter parameter)
- Description copied from class:
AsynchronousAssetLoader
- Loads the non-OpenGL part of the asset and injects any dependencies of the asset
into the AssetManager.
- Specified by:
loadAsync
in class AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>
fileName
- the name of the asset to loadparameter
- the parameters to use for loading the asset
loadSync
public TileAtlas loadSync(AssetManager manager,
java.lang.String fileName,
TileAtlasLoader.TileAtlasParameter parameter)
- Description copied from class:
AsynchronousAssetLoader
- Loads th
- Specified by:
loadSync
in class AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>
- Returns:
getDependencies
public Array<AssetDescriptor> getDependencies(java.lang.String fileName,
TileAtlasLoader.TileAtlasParameter parameter)
- Specified by:
getDependencies
in class AssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>
- Parameters:
fileName
- name of the asset to loadparameter
- parameters for loading the asset
- Returns:
- other assets that the asset depends on and need to be loaded first or null if there are no dependencies.
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)