Package gaiasky.util.gdx.loader
Class PFMDataLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<PFMData,PFMDataLoader.PFMDataParameter>
gaiasky.util.gdx.loader.PFMDataLoader
public class PFMDataLoader extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<PFMData,PFMDataLoader.PFMDataParameter>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PFMDataLoader.PFMDataInfo
static class
PFMDataLoader.PFMDataParameter
-
Constructor Summary
Constructors Constructor Description PFMDataLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
Method Summary
Modifier and Type Method Description com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor>
getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMDataLoader.PFMDataParameter parameter)
void
loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMDataLoader.PFMDataParameter parameter)
PFMData
loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMDataLoader.PFMDataParameter parameter)
Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsync
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 Details
-
PFMDataLoader
public PFMDataLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
-
Method Details
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMDataLoader.PFMDataParameter parameter)- Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<PFMData,PFMDataLoader.PFMDataParameter>
-
loadAsync
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMDataLoader.PFMDataParameter parameter)- Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<PFMData,PFMDataLoader.PFMDataParameter>
-
loadSync
public PFMData loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMDataLoader.PFMDataParameter parameter)- Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<PFMData,PFMDataLoader.PFMDataParameter>
-