public class UiThemeLoader extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<UiTheme,UiThemeLoader.UiThemeParameter>
AsynchronousAssetLoader
for loading UiTheme
sModifier and Type | Class and Description |
---|---|
static class |
UiThemeLoader.UiThemeParameter |
Constructor and Description |
---|
UiThemeLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
Constructor
|
UiThemeLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver,
boolean headless)
Constructor
|
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,
UiThemeLoader.UiThemeParameter parameter) |
void |
loadAsync(com.badlogic.gdx.assets.AssetManager manager,
java.lang.String fileName,
com.badlogic.gdx.files.FileHandle file,
UiThemeLoader.UiThemeParameter parameter) |
UiTheme |
loadSync(com.badlogic.gdx.assets.AssetManager manager,
java.lang.String fileName,
com.badlogic.gdx.files.FileHandle file,
UiThemeLoader.UiThemeParameter parameter) |
public UiThemeLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
resolver
- The FileHandleResolver
to usepublic UiThemeLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver, boolean headless)
resolver
- The FileHandleResolver
to useheadless
- True if the game is using the headless runtimepublic void loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, UiThemeLoader.UiThemeParameter parameter)
loadAsync
in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<UiTheme,UiThemeLoader.UiThemeParameter>
public UiTheme loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, UiThemeLoader.UiThemeParameter parameter)
loadSync
in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<UiTheme,UiThemeLoader.UiThemeParameter>
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, UiThemeLoader.UiThemeParameter parameter)
getDependencies
in class com.badlogic.gdx.assets.loaders.AssetLoader<UiTheme,UiThemeLoader.UiThemeParameter>