aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-07 19:01:33 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-07 19:01:33 +0100
commit8bc48d3789a6ad94642144d1e0ab71b5e3a4cd03 (patch)
treec18aaa956966cdac62b2241f09fa28aedf2e945e
parent5c36f34d6be47ce1747eeb7dd5059b905e42b914 (diff)
downloadOneRoll-8bc48d3789a6ad94642144d1e0ab71b5e3a4cd03.tar.gz
OneRoll-8bc48d3789a6ad94642144d1e0ab71b5e3a4cd03.zip
Update diceresult.h
herits from result
-rw-r--r--diceresult.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/diceresult.h b/diceresult.h
index 7cb5169..93fb668 100644
--- a/diceresult.h
+++ b/diceresult.h
@@ -3,8 +3,9 @@
#include <QList>
#include "die.h"
+#include "result.h"
-class DiceResult
+class DiceResult : public Result
{
public:
DiceResult();
@@ -15,7 +16,8 @@ public:
void setResultList(QList<Die> list);
-
+ bool isScalar() const;
+ virtual qint64 getScalar();
private:
QList<Die> m_diceValues;
};