diff options
| author | 2022-05-18 01:10:24 +0200 | |
|---|---|---|
| committer | 2022-05-18 01:10:24 +0200 | |
| commit | 57acb8a12a2d9b66145a0a8382e4536a4170c1b0 (patch) | |
| tree | 3c4e540577cf4d94fcec44e4a8039bbfd05b73ed /src/libparser/node/explodedicenode.h | |
| parent | af6c9d2bea9582bd944952025278b2fb1334af26 (diff) | |
| download | OneRoll-57acb8a12a2d9b66145a0a8382e4536a4170c1b0.tar.gz OneRoll-57acb8a12a2d9b66145a0a8382e4536a4170c1b0.zip | |
Add limitation support for explode node.
Diffstat (limited to 'src/libparser/node/explodedicenode.h')
| -rw-r--r-- | src/libparser/node/explodedicenode.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libparser/node/explodedicenode.h b/src/libparser/node/explodedicenode.h index 77b4a44..4a561e6 100644 --- a/src/libparser/node/explodedicenode.h +++ b/src/libparser/node/explodedicenode.h @@ -21,9 +21,12 @@ public: virtual ExecutionNode* getCopy() const; + void setLimitNode(ExecutionNode* limitNode); + protected: DiceResult* m_diceResult; - ValidatorList* m_validatorList= nullptr; + ValidatorList* m_validatorList{nullptr}; + ExecutionNode* m_limit{nullptr}; }; #endif // EXPLOSEDICENODE_H |