aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceresult.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-01-05 13:12:05 +0100
committerRenaud G <renaud@rolisteam.org>2014-01-05 13:12:05 +0100
commit3853227d5852f45341c1ee49be4411ada78d860c (patch)
tree12bd626e68a445b37e0c3870a996aedf8552a5c8 /diceresult.h
parent4de8cf5796446b7f8b09d776e4a6a6d6b8e95cb6 (diff)
downloadOneRoll-3853227d5852f45341c1ee49be4411ada78d860c.tar.gz
OneRoll-3853227d5852f45341c1ee49be4411ada78d860c.zip
Add new management of result.
It may require to make several
Diffstat (limited to 'diceresult.h')
-rw-r--r--diceresult.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/diceresult.h b/diceresult.h
index 9212233..7cb5169 100644
--- a/diceresult.h
+++ b/diceresult.h
@@ -2,20 +2,22 @@
#define DICERESULT_H
#include <QList>
+#include "die.h"
+
class DiceResult
{
public:
DiceResult();
qint64 getSum();
- QList<qint64>& getResultList();
- void insertResult(qint64);
+ QList<Die>& getResultList();
+ void insertResult(Die);
- void setResultList(QList<qint64> list);
+ void setResultList(QList<Die> list);
private:
- QList<qint64> m_diceValues;
+ QList<Die> m_diceValues;
};
#endif // DICERESULT_H