aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/dicerollernode.h
diff options
context:
space:
mode:
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