diff options
| author | 2018-02-24 17:06:10 +0100 | |
|---|---|---|
| committer | 2018-02-24 17:06:10 +0100 | |
| commit | ff78f313abd4839b77f17255b79dd4499bce0512 (patch) | |
| tree | bca17428464e6184a34f382bf28b3c3204b16519 /die.cpp | |
| parent | 4eeb6ff50f3153c3e139507d99efdf2bc1b9314c (diff) | |
| download | OneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.tar.gz OneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.zip | |
-remove warnings
Diffstat (limited to 'die.cpp')
| -rw-r--r-- | die.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -155,11 +155,6 @@ quint64 Die::getFaces() const { return abs(m_maxValue-m_base)+1; } - -void Die::setFaces(quint64 face) -{ - //m_maxValue=m_base+face-1; -} qint64 Die::getLastRolledValue() { if(!m_rollResult.isEmpty()) @@ -190,6 +185,10 @@ void Die::setBase(qint64 base) { m_base = base; } +qint64 Die::getBase() +{ + return m_base; +} QString Die::getColor() const { return m_color; |