aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-02-12 11:05:54 +0100
committerRenaud G <renaud@rolisteam.org>2017-02-12 11:05:54 +0100
commitb0ddec64a03135484a7439a65de8486974f08499 (patch)
tree5e3a845183fd78d6b07903983feeae26edf73308 /die.h
parent32f164c6e807c4f3d6fab3b147d1cf98e7a949c0 (diff)
downloadOneRoll-b0ddec64a03135484a7439a65de8486974f08499.tar.gz
OneRoll-b0ddec64a03135484a7439a65de8486974f08499.zip
-Fix range management for DF dice.
Diffstat (limited to 'die.h')
-rw-r--r--die.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/die.h b/die.h
index 6f3af8c..5899bab 100644
--- a/die.h
+++ b/die.h
@@ -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;