diff options
| author | 2017-02-12 11:05:54 +0100 | |
|---|---|---|
| committer | 2017-02-12 11:05:54 +0100 | |
| commit | b0ddec64a03135484a7439a65de8486974f08499 (patch) | |
| tree | 5e3a845183fd78d6b07903983feeae26edf73308 /die.h | |
| parent | 32f164c6e807c4f3d6fab3b147d1cf98e7a949c0 (diff) | |
| download | OneRoll-b0ddec64a03135484a7439a65de8486974f08499.tar.gz OneRoll-b0ddec64a03135484a7439a65de8486974f08499.zip | |
-Fix range management for DF dice.
Diffstat (limited to 'die.h')
| -rw-r--r-- | die.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -128,6 +128,9 @@ public: QString getColor() const; void setColor(const QString &color); + quint64 getMaxValue() const; + void setMaxValue(const quint64 &maxValue); + private: qint64 m_value; QList<qint64> m_rollResult; @@ -135,7 +138,7 @@ private: bool m_hasValue; bool m_displayStatus; bool m_highlighted; - quint64 m_faces; + quint64 m_maxValue; qint64 m_base; QString m_color; |