Package pi.config

Class SoundConfiguration

java.lang.Object
pi.config.ConfigurationGroup
pi.config.SoundConfiguration

public class SoundConfiguration extends ConfigurationGroup
Since:
0.42.0
Author:
Steffen Wilke, Matthias Wilke
  • Method Details

    • getMusicVolume

      public float getMusicVolume()
      Gets the current music volume.
      Returns:
      the music volume.
    • getSoundVolume

      public float getSoundVolume()
      Gets the current sound volume.
      Returns:
      the sound volume.
    • setMusicVolume

      public void setMusicVolume(float musicVolume)
      Sets the music volume.
      Parameters:
      musicVolume - the new music volume.
    • setSoundVolume

      public void setSoundVolume(float soundVolume)
      Sets the sound volume.
      Parameters:
      soundVolume - the new sound volume.