public class NullSoundDevice extends Object implements SoundDevice
| Constructor and Description |
|---|
NullSoundDevice() |
| 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.
|
public SoundHandle loadMusic(SoundSystem soundSystem, String filename)
SoundDeviceloadMusic in interface SoundDevicesoundSystem - the SoundSystemfilename - filename to loadpublic SoundHandle loadSound(SoundSystem soundSystem, String filename)
SoundDeviceloadSound in interface SoundDevicesoundSystem - the SoundSystemfilename - filename to loadpublic void update(int delta)
SoundDeviceupdate in interface SoundDevicedelta - delta from last call in msCopyright © 2013. All Rights Reserved.