diff options
| author | 2018-01-25 01:06:07 +0100 | |
|---|---|---|
| committer | 2018-01-25 01:06:07 +0100 | |
| commit | bb9eeae7d5798d5c2c8579949c544b55be1bcbca (patch) | |
| tree | 768c7da75e6611fd0bc128b659255dcfc7cd1f84 /node/dicerollernode.h | |
| parent | 8904bc61ad71f407fbefa4b80793ba424f2ce88b (diff) | |
| download | OneRoll-bb9eeae7d5798d5c2c8579949c544b55be1bcbca.tar.gz OneRoll-bb9eeae7d5798d5c2c8579949c544b55be1bcbca.zip | |
-Add management of unique for dice and list.
Diffstat (limited to 'node/dicerollernode.h')
| -rw-r--r-- | node/dicerollernode.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |