public class NullSoundDevice extends Object implements SoundDevice
| Modifier and Type | Class and Description |
|---|---|
static class |
NullSoundDevice.NullSoundHandle |
| 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 |
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.
|
public void setResourceLoader(NiftyResourceLoader niftyResourceLoader)
SoundDevicesetResourceLoader in interface SoundDeviceniftyResourceLoader - NiftyResourceLoaderpublic 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.