From 0c107434dda099d2b175a616b0b6b23d01c5bd14 Mon Sep 17 00:00:00 2001 From: MehdiAyadi <91869915+MehdiAyadi@users.noreply.github.com> Date: Sun, 20 Nov 2022 13:29:16 +0100 Subject: [PATCH] removed println for volume --- core/src/main/kotlin/com/last/commit/config/GameSettings.kt | 4 ---- core/src/main/kotlin/com/last/commit/screen/Settings.kt | 2 -- 2 files changed, 6 deletions(-) diff --git a/core/src/main/kotlin/com/last/commit/config/GameSettings.kt b/core/src/main/kotlin/com/last/commit/config/GameSettings.kt index db41fb9..446cf4a 100644 --- a/core/src/main/kotlin/com/last/commit/config/GameSettings.kt +++ b/core/src/main/kotlin/com/last/commit/config/GameSettings.kt @@ -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") - } } diff --git a/core/src/main/kotlin/com/last/commit/screen/Settings.kt b/core/src/main/kotlin/com/last/commit/screen/Settings.kt index cb805c9..3ceda20 100644 --- a/core/src/main/kotlin/com/last/commit/screen/Settings.kt +++ b/core/src/main/kotlin/com/last/commit/screen/Settings.kt @@ -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