libgdx API

com.badlogic.gdx.assets.loaders
Class TileAtlasLoader

java.lang.Object
  extended by com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
      extended by com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>
          extended by com.badlogic.gdx.assets.loaders.TileAtlasLoader

public class TileAtlasLoader
extends AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>

AssetLoader for TileAtlas instances.

Author:
mzechner

Nested Class Summary
static class TileAtlasLoader.TileAtlasParameter
          Mandatory AssetLoaderParameters for loading a TileAtlas
 
Constructor Summary
TileAtlasLoader(FileHandleResolver resolver)
           
 
Method Summary
 Array<AssetDescriptor> getDependencies(java.lang.String fileName, TileAtlasLoader.TileAtlasParameter parameter)
           
 void loadAsync(AssetManager manager, java.lang.String fileName, TileAtlasLoader.TileAtlasParameter parameter)
           
 TileAtlas loadSync(AssetManager manager, java.lang.String fileName, TileAtlasLoader.TileAtlasParameter parameter)
           
 
Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TileAtlasLoader

public TileAtlasLoader(FileHandleResolver resolver)
Method Detail

loadAsync

public void loadAsync(AssetManager manager,
                      java.lang.String fileName,
                      TileAtlasLoader.TileAtlasParameter parameter)
Specified by:
loadAsync in class AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>

loadSync

public TileAtlas loadSync(AssetManager manager,
                          java.lang.String fileName,
                          TileAtlasLoader.TileAtlasParameter parameter)
Specified by:
loadSync in class AsynchronousAssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>

getDependencies

public Array<AssetDescriptor> getDependencies(java.lang.String fileName,
                                              TileAtlasLoader.TileAtlasParameter parameter)
Specified by:
getDependencies in class AssetLoader<TileAtlas,TileAtlasLoader.TileAtlasParameter>

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)