removed println for volume

main
MehdiAyadi 2 years ago
parent bd6286bc9f
commit 0c107434dd

@ -47,11 +47,7 @@ class GameSettings() {
set(newValue: Float) {
field = newValue
println("settings volume sfx :$sfxVolume")
soundEngin?.volumeSfx = sfxVolume
soundEngin?. let {
println("soundengine volume sfx :$sfxVolume")
}
}

@ -43,7 +43,6 @@ class Settings(val parent: Game) : TimeTravelScreen() {
volumeMusicSlider = Slider(0f, 1f, 0.1f, false, skin)
volumeMusicSlider.value = parent.state.settings.musicVolume
volumeMusicSlider.addListener {
println("volume slide ${volumeMusicSlider.value}")
parent.state.settings.musicVolume = volumeMusicSlider.value
// updateVolumeLabel();
false
@ -54,7 +53,6 @@ class Settings(val parent: Game) : TimeTravelScreen() {
sfxMusicSlider.value = parent.state.settings.sfxVolume
sfxMusicSlider.addListener {
println("volume sfx :${sfxMusicSlider.value}")
parent.state.settings.sfxVolume = sfxMusicSlider.value
// updateVolumeLabel();
false

Loading…
Cancel
Save