Added option for turn on/off smooth scroll

This commit is contained in:
2025-11-30 09:43:50 +01:00
parent 8b350bfb9e
commit 98b7711100
6 changed files with 42 additions and 5 deletions

View File

@ -28,6 +28,9 @@ public:
bool isDebugEnabled() const { return m_debugEnabled; }
void setDebugEnabled(bool value) { m_debugEnabled = value; }
bool isSmoothScrollEnabled() const { return m_smoothScrollEnabled; }
void setSmoothScrollEnabled(bool value) { m_smoothScrollEnabled = value; }
const std::string& getPlayerName() const { return m_playerName; }
void setPlayerName(const std::string& name) { m_playerName = name; }
@ -45,5 +48,6 @@ private:
bool m_musicEnabled = true;
bool m_soundEnabled = true;
bool m_debugEnabled = false;
bool m_smoothScrollEnabled = true;
std::string m_playerName = "Player";
};