From 8c5f6e4303c376106e787a0983e594cfba3ed844 Mon Sep 17 00:00:00 2001 From: obiwankennedy Date: Wed, 8 Jan 2014 18:11:41 +0100 Subject: Update rerolldicenode.h add validator --- node/rerolldicenode.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'node') 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 -- cgit v1.2.3-70-g09d2