aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/keepdiceexecnode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-10-12 00:25:06 +0200
committerRenaud G <renaud@rolisteam.org>2021-05-12 02:04:44 +0200
commit4fd5a0988bef5c6c5d4ca96967d7d3a176f4c410 (patch)
treebd14e056adca27df8392367a4731157a2c8e68b1 /node/keepdiceexecnode.h
parent97235bf4e5e8a3502172e434c698562afd87d6b3 (diff)
downloadOneRoll-4fd5a0988bef5c6c5d4ca96967d7d3a176f4c410.tar.gz
OneRoll-4fd5a0988bef5c6c5d4ca96967d7d3a176f4c410.zip
Add ExecutionNode for keep parameters.
Diffstat (limited to 'node/keepdiceexecnode.h')
-rw-r--r--node/keepdiceexecnode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/node/keepdiceexecnode.h b/node/keepdiceexecnode.h
index 49680f2..c4aa5c5 100644
--- a/node/keepdiceexecnode.h
+++ b/node/keepdiceexecnode.h
@@ -34,13 +34,15 @@ public:
virtual ~KeepDiceExecNode();
virtual void run(ExecutionNode* previous);
- virtual void setDiceKeepNumber(qint64);
+ //virtual void setDiceKeepNumber(qint64);
+ virtual void setDiceKeepNumber(ExecutionNode* valueNode );
virtual QString toString(bool) const;
virtual qint64 getPriority() const;
virtual ExecutionNode* getCopy() const;
private:
qint64 m_numberOfDice= 0;
+ ExecutionNode* m_numberOfDiceNode;
DiceResult* m_diceResult;
};