aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result/diceresult.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-03-18 17:43:27 +0100
committerRenaud G <renaud@rolisteam.org>2018-03-18 17:43:27 +0100
commit8edc89703e5e0be26471432bc0e953d694bc92a5 (patch)
tree1b5598828986b747dbed9a1b77a9a0494f014779 /result/diceresult.h
parent86bd8dbc2bba4023ef4d7e3ba9c21a4396c9ccd1 (diff)
downloadOneRoll-8edc89703e5e0be26471432bc0e953d694bc92a5.tar.gz
OneRoll-8edc89703e5e0be26471432bc0e953d694bc92a5.zip
-Get copy for result
Diffstat (limited to 'result/diceresult.h')
-rw-r--r--result/diceresult.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/result/diceresult.h b/result/diceresult.h
index ae16daf..3dac826 100644
--- a/result/diceresult.h
+++ b/result/diceresult.h
@@ -78,6 +78,8 @@ public:
Die::ArithmeticOperator getOperator() const;
void setOperator(const Die::ArithmeticOperator & dieOperator);
bool contains(Die *die, const std::function<bool (const Die *, const Die *)> equal);
+
+ virtual Result* getCopy() const;
private:
qreal getScalarResult();
private: