de.lessvoid.nifty.nulldevice
Class NullSoundDevice
java.lang.Object
de.lessvoid.nifty.nulldevice.NullSoundDevice
- All Implemented Interfaces:
- SoundDevice
public class NullSoundDevice
- extends Object
- implements SoundDevice
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullSoundDevice
public NullSoundDevice()
loadMusic
public SoundHandle loadMusic(SoundSystem soundSystem,
String filename)
- Description copied from interface:
SoundDevice
- Load the Music with the given name.
- Specified by:
loadMusic in interface SoundDevice
- Parameters:
soundSystem - the SoundSystemfilename - filename to load
- Returns:
- initialized SoundHandle or null in case of any errors
loadSound
public SoundHandle loadSound(SoundSystem soundSystem,
String filename)
- Description copied from interface:
SoundDevice
- Load the Sound with the given name.
- Specified by:
loadSound in interface SoundDevice
- Parameters:
soundSystem - the SoundSystemfilename - filename to load
- Returns:
- initialized SoundHandle or null in case of any errors
update
public void update(int delta)
- Description copied from interface:
SoundDevice
- Called from the SoundSystem in regular intervals with the given
delta time in ms.
- Specified by:
update in interface SoundDevice
- Parameters:
delta - delta from last call in ms
Copyright © 2011. All Rights Reserved.