diff options
| author | 2015-12-24 11:25:16 +0100 | |
|---|---|---|
| committer | 2015-12-24 11:25:16 +0100 | |
| commit | 8f388a9ec72c7af6832a65ec3cfdd80fa7413492 (patch) | |
| tree | eefdc247be4be16b94d62b0a8a0c3fc7cb5b0475 /result/diceresult.h | |
| parent | 8572e4c63bf4c3b1decfb95e09960f899f198dd2 (diff) | |
| download | OneRoll-8f388a9ec72c7af6832a65ec3cfdd80fa7413492.tar.gz OneRoll-8f388a9ec72c7af6832a65ec3cfdd80fa7413492.zip | |
Adding new status "isHomogeneous" for diceresult.
Diffstat (limited to 'result/diceresult.h')
| -rw-r--r-- | result/diceresult.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/result/diceresult.h b/result/diceresult.h index 84a4621..fe24277 100644 --- a/result/diceresult.h +++ b/result/diceresult.h @@ -66,11 +66,20 @@ public: * @return */ virtual QString toString(bool wl); + /** + * @brief isHomogeneous + */ + bool isHomogeneous() const; + /** + * @brief setHomogeneous + */ + void setHomogeneous(bool); private: qreal getScalarResult(); private: QList<Die*> m_diceValues; + bool m_homogeneous; }; #endif // DICERESULT_H |