Package pi.config
Class SoundConfig
java.lang.Object
pi.config.ConfigGroup
pi.config.SoundConfig
Verwaltet die Audio-Einstellungsmöglichkeiten.
- Since:
- 0.42.0
- Author:
- Steffen Wilke, Matthias Wilke, Josef Friedrich
-
Nested Class Summary
Nested classes/interfaces inherited from class pi.config.ConfigGroup
ConfigGroup.ConfigurationChangedListener -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the current music volume.voidmusicVolume(double musicVolume) Sets the music volume.doubleGets the current sound volume.voidsoundVolume(double soundVolume) Sets the sound volume.Methods inherited from class pi.config.ConfigGroup
getPrefix, initializeByProperty, isDebug, onChanged, removeListener, set, setDebug, storeProperties
-
Method Details
-
soundVolume
Gets the current sound volume.- Returns:
- the sound volume.
-
soundVolume
Sets the sound volume.- Parameters:
soundVolume- the new sound volume.
-
musicVolume
Gets the current music volume.- Returns:
- the music volume.
-
musicVolume
Sets the music volume.- Parameters:
musicVolume- the new music volume.
-