Class SoundConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.SoundConfiguration
public class SoundConfiguration
extends ConfigurationGroupNested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListenerMethod Summary
Modifier and Type Method Description floatgetMusicVolume()floatgetSoundVolume()Gets the sound volume.voidsetMusicVolume(float musicVolume)voidsetSoundVolume(float soundVolume)Sets the sound volume.Methods inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
getPrefix, initializeByProperty, isDebug, onChanged, removeListener, set, setDebug, storeProperties
Method Details
getMusicVolume
public float getMusicVolume()getSoundVolume
public float getSoundVolume()Gets the sound volume.- Returns:
- the sound volume
setMusicVolume
public void setMusicVolume(float musicVolume)setSoundVolume
public void setSoundVolume(float soundVolume)Sets the sound volume.- Parameters:
soundVolume- the new sound volume
