diff options
Diffstat (limited to 'node/dicerollernode.h')
| -rw-r--r-- | node/dicerollernode.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/node/dicerollernode.h b/node/dicerollernode.h new file mode 100644 index 0000000..172d09d --- /dev/null +++ b/node/dicerollernode.h @@ -0,0 +1,25 @@ +#ifndef DICEROLLERNODE_H +#define DICEROLLERNODE_H + +#include "executionnode.h" + +class DiceRollerNode : public ExecutionNode +{ +public: + DiceRollerNode(quint64 faces); + + virtual void run(ExecutionNode*); + + //private method +private: + quint64 rollDice(); + + +//private members +private: + quint64 m_diceCount; + quint64 m_faces; /// faces + +}; + +#endif // DICEROLLERNODE_H |