Class SoundConfiguration

java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.SoundConfiguration

public class SoundConfiguration extends ConfigurationGroup
  • 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.