blob: 90dc81a667b6878b23c77bcd1323cb56ac8a93e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef REROLLDICENODE_H
#define REROLLDICENODE_H
#include "executionnode.h"
/**
* @brief The RerollDiceNode class reroll dice given a condition and replace(or add) the result.
*/
class RerollDiceNode : public ExecutionNode
{
public:
enum ReRollMode {EQUAL,LESSER,GREATER};
RerollDiceNode(ExecutionNode* previous);
virtual void run();
private:
ExecutionNode* m_previous;
};
#endif // REROLLDICENODE_H
|