aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/rerolldicenode.h
diff options
context:
space:
mode:
Diffstat (limited to 'node/rerolldicenode.h')
-rw-r--r--node/rerolldicenode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/node/rerolldicenode.h b/node/rerolldicenode.h
index 32fad79..68b732e 100644
--- a/node/rerolldicenode.h
+++ b/node/rerolldicenode.h
@@ -3,7 +3,8 @@
#include "executionnode.h"
#include "result/diceresult.h"
-#include "validator.h"
+
+class ValidatorList;
/**
* @brief The RerollDiceNode class reroll dice given a condition and replace(or add) the result.
*/
@@ -38,7 +39,7 @@ public:
/**
* @brief setValidator
*/
- virtual void setValidator(Validator*);
+ virtual void setValidatorList(ValidatorList*);
/**
* @brief toString
* @return
@@ -61,7 +62,7 @@ public:
private:
DiceResult* m_diceResult= nullptr;
- Validator* m_validator= nullptr;
+ ValidatorList* m_validatorList= nullptr;
ExecutionNode* m_instruction= nullptr;
const bool m_reroll;