aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-09-05 00:40:40 +0200
committerRenaud G <renaud@rolisteam.org>2019-09-05 00:40:40 +0200
commit1c875b651df3afafe1df6b8ae412124d67e526a6 (patch)
treee79f03a998c10f9d546b4ece060af68956bacca4 /die.h
parentb0ec3dfffda7991eee5775dcebb04731ba6a8389 (diff)
downloadOneRoll-1c875b651df3afafe1df6b8ae412124d67e526a6.tar.gz
OneRoll-1c875b651df3afafe1df6b8ae412124d67e526a6.zip
Copy die but prevent them to be displayed twice.
Diffstat (limited to 'die.h')
-rw-r--r--die.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/die.h b/die.h
index eb43521..52ba7a2 100644
--- a/die.h
+++ b/die.h
@@ -144,7 +144,11 @@ public:
void setOp(const Die::ArithmeticOperator& op);
void setDisplayed(bool b);
+ QString getUuid() const;
+ void setUuid(const QString& uuid);
+
private:
+ QString m_uuid;
qint64 m_value= 0;
QList<qint64> m_rollResult;
bool m_selected= false;