Class SoundConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.SoundConfiguration
public class SoundConfiguration
extends ConfigurationGroup
Nested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListener
Method Summary
Modifier and Type Method Description float
getMusicVolume()
float
getSoundVolume()
Gets the sound volume.void
setMusicVolume(float musicVolume)
void
setSoundVolume(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