From 7dc4bdca925a1999f7fcd2b052677ab1e2e43a4a Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 25 Jan 2018 01:07:00 +0100 Subject: -Add API to know if dice is already inside the result. --- result/diceresult.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'result/diceresult.h') diff --git a/result/diceresult.h b/result/diceresult.h index 7eded95..ae16daf 100644 --- a/result/diceresult.h +++ b/result/diceresult.h @@ -76,8 +76,8 @@ public: void setHomogeneous(bool); Die::ArithmeticOperator getOperator() const; - void setOperator(const Die::ArithmeticOperator & dieOperator); - + void setOperator(const Die::ArithmeticOperator & dieOperator); + bool contains(Die *die, const std::function equal); private: qreal getScalarResult(); private: -- cgit v1.2.3-70-g09d2