aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceresult.cpp
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-06 12:21:52 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-06 12:21:52 +0100
commit2370150183601a05986b82cec38078eaeef01f12 (patch)
treec16b97403cf8ec7c0187f0b1ed06aac83511e228 /diceresult.cpp
parent0b4909df2372537969e96c4003149cecd2fb911d (diff)
downloadOneRoll-2370150183601a05986b82cec38078eaeef01f12.tar.gz
OneRoll-2370150183601a05986b82cec38078eaeef01f12.zip
Update diceresult.cpp
New API for result
Diffstat (limited to 'diceresult.cpp')
-rw-r--r--diceresult.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/diceresult.cpp b/diceresult.cpp
index 6d84ce1..8fcc5b3 100644
--- a/diceresult.cpp
+++ b/diceresult.cpp
@@ -17,3 +17,11 @@ void DiceResult::setResultList(QList<Die> list)
m_diceValues.clear();
m_diceValues << list;
}
+bool DiceResult::isScalar() const
+{
+ return false;
+}
+qint64 DiceResult::getScalar()
+{
+ return 0;
+}