From 653ba9395a36cc20ec1d68c9a9cae78973fa334c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 30 Jan 2020 01:27:15 +0100 Subject: add unicity and repeat function part2 --- node/explodedicenode.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'node/explodedicenode.h') diff --git a/node/explodedicenode.h b/node/explodedicenode.h index e72298a..77b4a44 100644 --- a/node/explodedicenode.h +++ b/node/explodedicenode.h @@ -3,8 +3,8 @@ #include "executionnode.h" #include "result/diceresult.h" -#include "validator.h" -#include + +class ValidatorList; /** * @brief The ExplodeDiceNode class explode dice while is valid by the validator. @@ -15,7 +15,7 @@ public: ExplodeDiceNode(); virtual ~ExplodeDiceNode(); virtual void run(ExecutionNode* previous= nullptr); - virtual void setValidator(Validator*); + virtual void setValidatorList(ValidatorList*); virtual QString toString(bool) const; virtual qint64 getPriority() const; @@ -23,7 +23,7 @@ public: protected: DiceResult* m_diceResult; - Validator* m_validator; + ValidatorList* m_validatorList= nullptr; }; #endif // EXPLOSEDICENODE_H -- cgit v1.2.3-70-g09d2