diff options
| author | 2018-04-10 20:43:24 +0200 | |
|---|---|---|
| committer | 2018-04-11 00:18:05 +0200 | |
| commit | d205f806d0bcfc119e2ecd3ea063288877064dde (patch) | |
| tree | e1bd4b4741143972aabdeeef2cb2146eac41265b /node/rerolldicenode.h | |
| parent | 826f21f33721f0c232e1440ab8c4d04a822aff8c (diff) | |
| download | OneRoll-d205f806d0bcfc119e2ecd3ea063288877064dde.tar.gz OneRoll-d205f806d0bcfc119e2ecd3ea063288877064dde.zip | |
-Add support for subcommand on reroll operator.
Diffstat (limited to 'node/rerolldicenode.h')
| -rw-r--r-- | node/rerolldicenode.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 |