public interface SoundDevice
Modifier and Type | Method and Description |
---|---|
SoundHandle |
loadMusic(SoundSystem soundSystem,
String filename)
Load the Music with the given name.
|
SoundHandle |
loadSound(SoundSystem soundSystem,
String filename)
Load the Sound with the given name.
|
void |
setResourceLoader(NiftyResourceLoader niftyResourceLoader)
Gives this RenderDevice access to the NiftyResourceLoader.
|
void |
update(int delta)
Called from the SoundSystem in regular intervals with the given
delta time in ms.
|
void setResourceLoader(NiftyResourceLoader niftyResourceLoader)
niftyResourceLoader
- NiftyResourceLoaderSoundHandle loadSound(SoundSystem soundSystem, String filename)
soundSystem
- the SoundSystemfilename
- filename to loadSoundHandle loadMusic(SoundSystem soundSystem, String filename)
soundSystem
- the SoundSystemfilename
- filename to loadvoid update(int delta)
delta
- delta from last call in msCopyright © 2013. All Rights Reserved.