com.badlogic.gdx.assets.loaders
Class SoundLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.SynchronousAssetLoader<Sound,SoundLoader.SoundParameter>
com.badlogic.gdx.assets.loaders.SoundLoader
public class SoundLoader
- extends SynchronousAssetLoader<Sound,SoundLoader.SoundParameter>
AssetLoader
to load Sound
instances.
- Author:
- mzechner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundLoader
public SoundLoader(FileHandleResolver resolver)
load
public Sound load(AssetManager assetManager,
java.lang.String fileName,
SoundLoader.SoundParameter parameter)
- Specified by:
load
in class SynchronousAssetLoader<Sound,SoundLoader.SoundParameter>
getDependencies
public Array<AssetDescriptor> getDependencies(java.lang.String fileName,
SoundLoader.SoundParameter parameter)
- Specified by:
getDependencies
in class AssetLoader<Sound,SoundLoader.SoundParameter>
- Parameters:
fileName
- name of the asset to loadparameter
- parameters for loading the asset
- Returns:
- other assets that the asset depends on and need to be loaded first or null if there are no dependencies.
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)