diff options
| author | 2018-04-23 13:41:46 +0200 | |
|---|---|---|
| committer | 2018-04-23 13:41:46 +0200 | |
| commit | fd5728eb399e10514afd0bb55b73d504d50b7517 (patch) | |
| tree | d40b0541ca91a56f6ec349c6d8569e8bb2b70d3a /result/diceresult.h | |
| parent | 4fa76667c4e7f31ed6b28eb43ad277ac448e0e71 (diff) | |
| download | OneRoll-fd5728eb399e10514afd0bb55b73d504d50b7517.tar.gz OneRoll-fd5728eb399e10514afd0bb55b73d504d50b7517.zip | |
reroll dice with replacement by expression
Diffstat (limited to 'result/diceresult.h')
| -rw-r--r-- | result/diceresult.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/result/diceresult.h b/result/diceresult.h index 3dac826..8ff041f 100644 --- a/result/diceresult.h +++ b/result/diceresult.h @@ -79,6 +79,8 @@ public: void setOperator(const Die::ArithmeticOperator & dieOperator); bool contains(Die *die, const std::function<bool (const Die *, const Die *)> equal); + void clear(); + virtual Result* getCopy() const; private: qreal getScalarResult(); |