diff options
| author | 2019-02-12 23:59:24 +0100 | |
|---|---|---|
| committer | 2019-02-12 23:59:24 +0100 | |
| commit | f2051fb35b1ad49c4d940e6fbba2acc98b216e13 (patch) | |
| tree | 03117f493191d35104ac37eba72e916d41c849f2 /node/listsetrollnode.h | |
| parent | 210a222b894caa3c8af38ccb6653db0fd8491f6e (diff) | |
| download | OneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.tar.gz OneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.zip | |
clang format
Diffstat (limited to 'node/listsetrollnode.h')
| -rw-r--r-- | node/listsetrollnode.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/node/listsetrollnode.h b/node/listsetrollnode.h index 15d00e4..5c2c340 100644 --- a/node/listsetrollnode.h +++ b/node/listsetrollnode.h @@ -21,13 +21,12 @@ #ifndef LISTSETROLLNODE_H #define LISTSETROLLNODE_H - #include <QStringList> #include "executionnode.h" +#include "range.h" #include "result/diceresult.h" #include "result/stringresult.h" -#include "range.h" /** * @brief The ListSetRollNode class is dedicated to pick up item from list. */ @@ -35,19 +34,19 @@ class ListSetRollNode : public ExecutionNode { public: ListSetRollNode(); - virtual ~ListSetRollNode(); - virtual void run(ExecutionNode* previous = nullptr); - virtual QString toString(bool)const; + virtual ~ListSetRollNode(); + virtual void run(ExecutionNode* previous= nullptr); + virtual QString toString(bool) const; virtual qint64 getPriority() const; QStringList getList() const; void setListValue(QStringList); - void setUnique(bool ); + void setUnique(bool); void setRangeList(QList<Range>&); - virtual ExecutionNode *getCopy() const; + virtual ExecutionNode* getCopy() const; private: - void getValueFromDie(Die* die,QStringList& rollResult); + void getValueFromDie(Die* die, QStringList& rollResult); void computeFacesNumber(Die* die); private: |