diff options
| author | 2017-04-27 18:17:03 +0200 | |
|---|---|---|
| committer | 2017-04-27 18:17:03 +0200 | |
| commit | 9b2839b6f09177bda6b3654c56a750f84173123a (patch) | |
| tree | 259cbab92ad580b11ddd4a01bd8fa53b151a237c /node/dicerollernode.h | |
| parent | 026ca5cb4829cd4c4ad6b945e27479303e96fe82 (diff) | |
| download | OneRoll-9b2839b6f09177bda6b3654c56a750f84173123a.tar.gz OneRoll-9b2839b6f09177bda6b3654c56a750f84173123a.zip | |
-management of arithmetic operator for scalar result of dice.
Diffstat (limited to 'node/dicerollernode.h')
| -rw-r--r-- | node/dicerollernode.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/node/dicerollernode.h b/node/dicerollernode.h index dcdbeb2..0857b30 100644 --- a/node/dicerollernode.h +++ b/node/dicerollernode.h @@ -44,11 +44,15 @@ public: virtual ExecutionNode* getCopy() const; //private members + Die::ArithmeticOperator getOperator() const; + void setOperator(const Die::ArithmeticOperator & dieOperator); + private: quint64 m_diceCount; qint64 m_max; /// faces - DiceResult* m_diceResult; + DiceResult* m_diceResult; qint64 m_min; + Die::ArithmeticOperator m_operator; }; #endif // DICEROLLERNODE_H |