blob: 7dde880809e8ee2a8f3f40e32e71fa741304ccdc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
}
|