Added option for turn on/off smooth scroll
This commit is contained in:
@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user