Package gaia.cu9.ari.gaiaorbit.assets
Class SGLoader
- java.lang.Object
-
- com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
-
- com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<ISceneGraph,SGLoader.SGLoaderParameter>
-
- gaia.cu9.ari.gaiaorbit.assets.SGLoader
-
public class SGLoader extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<ISceneGraph,SGLoader.SGLoaderParameter>
AssetLoader
for all theSceneGraphNode
instances. Loads all the entities in the scene graph.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SGLoader.SGLoaderParameter
-
Constructor Summary
Constructors Constructor Description SGLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods 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, SGLoader.SGLoaderParameter parameter)
void
loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String files, com.badlogic.gdx.files.FileHandle file, SGLoader.SGLoaderParameter parameter)
ISceneGraph
loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, SGLoader.SGLoaderParameter parameter)
-
-
-
Method Detail
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, SGLoader.SGLoaderParameter parameter)
- Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<ISceneGraph,SGLoader.SGLoaderParameter>
-
loadAsync
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String files, com.badlogic.gdx.files.FileHandle file, SGLoader.SGLoaderParameter parameter)
- Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<ISceneGraph,SGLoader.SGLoaderParameter>
-
loadSync
public ISceneGraph loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, SGLoader.SGLoaderParameter parameter)
- Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<ISceneGraph,SGLoader.SGLoaderParameter>
-
-