public class TiledMapLoader extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TiledMap,TiledMapLoader.TiledMapParameter>
AssetLoader
implementation for loading TiledMap
instancesModifier and Type | Class and Description |
---|---|
static class |
TiledMapLoader.TiledMapParameter |
Constructor and Description |
---|
TiledMapLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) |
Modifier and Type | Method and Description |
---|---|
com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> |
getDependencies(java.lang.String fileName,
com.badlogic.gdx.files.FileHandle file,
TiledMapLoader.TiledMapParameter parameter) |
void |
loadAsync(com.badlogic.gdx.assets.AssetManager manager,
java.lang.String fileName,
com.badlogic.gdx.files.FileHandle file,
TiledMapLoader.TiledMapParameter parameter) |
TiledMap |
loadSync(com.badlogic.gdx.assets.AssetManager manager,
java.lang.String fileName,
com.badlogic.gdx.files.FileHandle file,
TiledMapLoader.TiledMapParameter parameter) |
public TiledMapLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, TiledMapLoader.TiledMapParameter parameter)
loadAsync
in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TiledMap,TiledMapLoader.TiledMapParameter>
public TiledMap loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, TiledMapLoader.TiledMapParameter parameter)
loadSync
in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TiledMap,TiledMapLoader.TiledMapParameter>
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, TiledMapLoader.TiledMapParameter parameter)
getDependencies
in class com.badlogic.gdx.assets.loaders.AssetLoader<TiledMap,TiledMapLoader.TiledMapParameter>