aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/keepdiceexecnode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-02-12 23:59:24 +0100
committerRenaud G <renaud@rolisteam.org>2019-02-12 23:59:24 +0100
commitf2051fb35b1ad49c4d940e6fbba2acc98b216e13 (patch)
tree03117f493191d35104ac37eba72e916d41c849f2 /node/keepdiceexecnode.h
parent210a222b894caa3c8af38ccb6653db0fd8491f6e (diff)
downloadOneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.tar.gz
OneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.zip
clang format
Diffstat (limited to 'node/keepdiceexecnode.h')
-rw-r--r--node/keepdiceexecnode.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/node/keepdiceexecnode.h b/node/keepdiceexecnode.h
index 72d3de4..ab9913d 100644
--- a/node/keepdiceexecnode.h
+++ b/node/keepdiceexecnode.h
@@ -24,8 +24,8 @@
#include "executionnode.h"
#include "result/diceresult.h"
/**
- * @brief The KeepDiceExecNode class splits the dice result to get the m_numberOfDice dice from the beginning of the dice result.
- * Usually the pervious node of an KeepDiceExecNode is an SortNode.
+ * @brief The KeepDiceExecNode class splits the dice result to get the m_numberOfDice dice from the beginning of the
+ * dice result. Usually the pervious node of an KeepDiceExecNode is an SortNode.
*/
class KeepDiceExecNode : public ExecutionNode
{
@@ -33,11 +33,12 @@ public:
KeepDiceExecNode();
virtual ~KeepDiceExecNode();
- virtual void run(ExecutionNode *previous);
- virtual void setDiceKeepNumber(qint64 );
- virtual QString toString(bool)const;
+ virtual void run(ExecutionNode* previous);
+ virtual void setDiceKeepNumber(qint64);
+ virtual QString toString(bool) const;
virtual qint64 getPriority() const;
- virtual ExecutionNode *getCopy() const;
+ virtual ExecutionNode* getCopy() const;
+
private:
qint64 m_numberOfDice;
DiceResult* m_diceResult;