diff options
Diffstat (limited to 'die.cpp')
| -rw-r--r-- | die.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -0,0 +1,34 @@ +#include "die.h" + +Die::Die() +{ +} + +void Die::setValue(qint64 r) +{ + m_value = r; +} + +void Die::insertRollValue(qint64 r) +{ + m_rollResult.insert(r); +} + +void Die::setSelected(bool b) +{ + m_selected = b; +} + + +bool Die::isSelected() const +{ + return m_selected; +} +qint64 Die::getValue() const +{ + return m_value; +} +QList<qint64> Die::getListValue() const +{ + return m_rollResult; +} |