aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/dicerollernode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-02-12 11:06:12 +0100
committerRenaud G <renaud@rolisteam.org>2017-02-12 11:06:12 +0100
commitfb24013c7772ea80f1db0d9ff1d886d1676882cd (patch)
treec41ee00ee0f3fd26e9af6c424d583fbaf0ffd0ef /node/dicerollernode.h
parentb0ddec64a03135484a7439a65de8486974f08499 (diff)
downloadOneRoll-fb24013c7772ea80f1db0d9ff1d886d1676882cd.tar.gz
OneRoll-fb24013c7772ea80f1db0d9ff1d886d1676882cd.zip
-change API to fix DF dice.
Diffstat (limited to 'node/dicerollernode.h')
-rw-r--r--node/dicerollernode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/dicerollernode.h b/node/dicerollernode.h
index 4e2f9d7..ab5c47f 100644
--- a/node/dicerollernode.h
+++ b/node/dicerollernode.h
@@ -17,7 +17,7 @@ public:
* @param faces, number of faces of dices
* @param offset, first value of dice.
*/
- DiceRollerNode(quint64 faces, qint64 offset = 1);
+ DiceRollerNode(quint64 max, qint64 min = 1);
/**
* @brief run - starts to roll dice.
@@ -46,9 +46,9 @@ public:
//private members
private:
quint64 m_diceCount;
- quint64 m_faces; /// faces
+ qint64 m_max; /// faces
DiceResult* m_diceResult;
- qint64 m_offset;
+ qint64 m_min;
};
#endif // DICEROLLERNODE_H