aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/rerolldicenode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-01-05 13:12:05 +0100
committerRenaud G <renaud@rolisteam.org>2014-01-05 13:12:05 +0100
commit3853227d5852f45341c1ee49be4411ada78d860c (patch)
tree12bd626e68a445b37e0c3870a996aedf8552a5c8 /node/rerolldicenode.h
parent4de8cf5796446b7f8b09d776e4a6a6d6b8e95cb6 (diff)
downloadOneRoll-3853227d5852f45341c1ee49be4411ada78d860c.tar.gz
OneRoll-3853227d5852f45341c1ee49be4411ada78d860c.zip
Add new management of result.
It may require to make several
Diffstat (limited to 'node/rerolldicenode.h')
-rw-r--r--node/rerolldicenode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/rerolldicenode.h b/node/rerolldicenode.h
index 90dc81a..609fcf3 100644
--- a/node/rerolldicenode.h
+++ b/node/rerolldicenode.h
@@ -12,11 +12,11 @@ class RerollDiceNode : public ExecutionNode
public:
enum ReRollMode {EQUAL,LESSER,GREATER};
- RerollDiceNode(ExecutionNode* previous);
+ RerollDiceNode();
- virtual void run();
+ virtual void run(ExecutionNode* previous);
private:
- ExecutionNode* m_previous;
+ qint64 m_value;
};
#endif // REROLLDICENODE_H