From d205f806d0bcfc119e2ecd3ea063288877064dde Mon Sep 17 00:00:00 2001 From: Renaud G Date: Tue, 10 Apr 2018 20:43:24 +0200 Subject: -Add support for subcommand on reroll operator. --- node/rerolldicenode.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'node/rerolldicenode.h') diff --git a/node/rerolldicenode.h b/node/rerolldicenode.h index f566d77..c999dda 100644 --- a/node/rerolldicenode.h +++ b/node/rerolldicenode.h @@ -58,10 +58,14 @@ public: */ virtual ExecutionNode* getCopy() const; + ExecutionNode *getInstruction() const; + void setInstruction(ExecutionNode *instruction); + private: - DiceResult* m_diceResult; + DiceResult* m_diceResult = nullptr; bool m_adding; - Validator* m_validator; + Validator* m_validator = nullptr; + ExecutionNode* m_instruction = nullptr; }; #endif // REROLLDICENODE_H -- cgit v1.2.3-70-g09d2