diff options
Diffstat (limited to 'node')
| -rw-r--r-- | node/rerolldicenode.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/node/rerolldicenode.h b/node/rerolldicenode.h index 609fcf3..b87fafe 100644 --- a/node/rerolldicenode.h +++ b/node/rerolldicenode.h @@ -3,7 +3,8 @@ #include "executionnode.h" - +#include "diceresult.h" +#include "validator.h" /** * @brief The RerollDiceNode class reroll dice given a condition and replace(or add) the result. */ @@ -15,8 +16,12 @@ public: RerollDiceNode(); virtual void run(ExecutionNode* previous); + + virtual void setValidator(Validator* ); + private: - qint64 m_value; + Validator* m_validator; + DiceResult* m_myDiceResult; }; #endif // REROLLDICENODE_H |