aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceresult.cpp
blob: 8fcc5b3b9404c73a6016c154d2e2fff23c818fba (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
#include "diceresult.h"

DiceResult::DiceResult()
{

}
void DiceResult::insertResult(Die die)
{
    m_diceValues.append(die);
}
QList<Die>& DiceResult::getResultList()
{
    return m_diceValues;
}
void DiceResult::setResultList(QList<Die> list)
{
    m_diceValues.clear();
    m_diceValues << list;
}
bool DiceResult::isScalar() const
{
    return false;
}
qint64 DiceResult::getScalar()
{
    return 0;
}