aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@buf.com>2015-05-15 14:48:30 +0200
committerRenaud G <renaud@buf.com>2015-05-15 14:48:30 +0200
commit74b931cd4dd5af57ee7e34948a92dad62733d722 (patch)
treecdd28c39319aad8f351f280c4dbf72524dcded43 /die.h
parent5acbf79338f01857f4d646727cd5f819c6de2183 (diff)
downloadOneRoll-74b931cd4dd5af57ee7e34948a92dad62733d722.tar.gz
OneRoll-74b931cd4dd5af57ee7e34948a92dad62733d722.zip
add management of base, the minimum value of die
Diffstat (limited to 'die.h')
-rw-r--r--die.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/die.h b/die.h
index 6b640b7..2c10894 100644
--- a/die.h
+++ b/die.h
@@ -119,6 +119,11 @@ public:
*/
bool isHighlighted();
+ /**
+ * @brief setBase
+ */
+ void setBase(qint64);
+
private:
qint64 m_value;
QList<qint64> m_rollResult;
@@ -127,6 +132,7 @@ private:
bool m_displayStatus;
bool m_highlighted;
quint64 m_faces;
+ qint64 m_base;
};