diff options
Diffstat (limited to 'node/dicerollernode.h')
| -rw-r--r-- | node/dicerollernode.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/node/dicerollernode.h b/node/dicerollernode.h index 8831c8e..a59f97c 100644 --- a/node/dicerollernode.h +++ b/node/dicerollernode.h @@ -12,41 +12,41 @@ class DiceRollerNode : public ExecutionNode { public: - /** - * @brief DiceRollerNode builds an instance - * @param faces, number of faces of dices - * @param offset, first value of dice. - */ - DiceRollerNode(qint64 max, qint64 min = 1); - - /** - * @brief run - starts to roll dice. - */ + /** + * @brief DiceRollerNode builds an instance + * @param faces, number of faces of dices + * @param offset, first value of dice. + */ + DiceRollerNode(qint64 max, qint64 min= 1); + + /** + * @brief run - starts to roll dice. + */ virtual void run(ExecutionNode*); - /** - * @brief getFaces accessor - * @return the face count - */ + /** + * @brief getFaces accessor + * @return the face count + */ quint64 getFaces() const; - std::pair<qint64,qint64> getRange() const; - - /** - * @brief toString - * @param wl - * @return use to generate dot tree; - */ - virtual QString toString(bool wl)const; - /** - * @brief getPriority - * @return priority for dice roll: 4 (higher) - */ - virtual qint64 getPriority() const; + std::pair<qint64, qint64> getRange() const; + + /** + * @brief toString + * @param wl + * @return use to generate dot tree; + */ + virtual QString toString(bool wl) const; + /** + * @brief getPriority + * @return priority for dice roll: 4 (higher) + */ + virtual qint64 getPriority() const; virtual ExecutionNode* getCopy() const; -//private members + // private members Die::ArithmeticOperator getOperator() const; - void setOperator(const Die::ArithmeticOperator & dieOperator); + void setOperator(const Die::ArithmeticOperator& dieOperator); bool getUnique() const; void setUnique(bool unique); |