From 00b6a6a04b341d5a6332083425e3524349cef521 Mon Sep 17 00:00:00 2001 From: Robin Moussu Date: Sat, 26 May 2018 20:04:25 +0200 Subject: rename "exploSe" to "exploDe" --- node/explodedicenode.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 node/explodedicenode.h (limited to 'node/explodedicenode.h') diff --git a/node/explodedicenode.h b/node/explodedicenode.h new file mode 100644 index 0000000..feea86f --- /dev/null +++ b/node/explodedicenode.h @@ -0,0 +1,28 @@ +#ifndef EXPLOSEDICENODE_H +#define EXPLOSEDICENODE_H + +#include "executionnode.h" +#include "result/diceresult.h" +#include "validator.h" +#include + +/** + * @brief The ExplodeDiceNode class explode dice while is valid by the validator. + */ +class ExplodeDiceNode : public ExecutionNode +{ +public: + ExplodeDiceNode(); + virtual ~ExplodeDiceNode(); + virtual void run(ExecutionNode* previous = nullptr); + virtual void setValidator(Validator* ); + virtual QString toString(bool )const; + virtual qint64 getPriority() const; + + virtual ExecutionNode *getCopy() const; +protected: + DiceResult* m_diceResult; + Validator* m_validator; +}; + +#endif // EXPLOSEDICENODE_H -- cgit v1.2.3-70-g09d2