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 |
update(int delta)
Called from the SoundSystem in regular intervals with the given
delta time in ms.
|
SoundHandle 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.