aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/dicerollernode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-05-16 00:31:39 +0200
committerRenaud G <renaud@rolisteam.org>2015-05-16 00:31:39 +0200
commitdcb69924f66fb99ba036cbaa0de4ef16438bd7aa (patch)
tree5dfb318866d8e7ee6a19578d22997c0af65932e0 /node/dicerollernode.h
parent210d249da7ffe4e9cc570e3bc0f429c41a8e8dac (diff)
parentf8a2e958e699ca41730cb785e7284c07eaaa5a82 (diff)
downloadOneRoll-dcb69924f66fb99ba036cbaa0de4ef16438bd7aa.tar.gz
OneRoll-dcb69924f66fb99ba036cbaa0de4ef16438bd7aa.zip
Merge branch 'master' of github.com:obiwankennedy/DiceParser
Diffstat (limited to 'node/dicerollernode.h')
-rw-r--r--node/dicerollernode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/dicerollernode.h b/node/dicerollernode.h
index 744a4b5..726676e 100644
--- a/node/dicerollernode.h
+++ b/node/dicerollernode.h
@@ -25,7 +25,7 @@
class DiceRollerNode : public ExecutionNode
{
public:
- DiceRollerNode(quint64 faces);
+ DiceRollerNode(quint64 faces, qint64 offset = 1);
virtual void run(ExecutionNode*);
quint64 getFaces();
@@ -37,6 +37,7 @@ private:
quint64 m_diceCount;
quint64 m_faces; /// faces
DiceResult* m_diceResult;
+ qint64 m_offset;
};
#endif // DICEROLLERNODE_H