From bb9eeae7d5798d5c2c8579949c544b55be1bcbca Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 25 Jan 2018 01:06:07 +0100 Subject: -Add management of unique for dice and list. --- node/dicerollernode.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node/dicerollernode.h') diff --git a/node/dicerollernode.h b/node/dicerollernode.h index 0857b30..2b4e3dd 100644 --- a/node/dicerollernode.h +++ b/node/dicerollernode.h @@ -47,12 +47,16 @@ public: Die::ArithmeticOperator getOperator() const; void setOperator(const Die::ArithmeticOperator & dieOperator); + bool getUnique() const; + void setUnique(bool unique); + private: quint64 m_diceCount; qint64 m_max; /// faces DiceResult* m_diceResult; qint64 m_min; Die::ArithmeticOperator m_operator; + bool m_unique; }; #endif // DICEROLLERNODE_H -- cgit v1.2.3-70-g09d2