aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceresult.h
blob: 93fb6683b689179586b545ce61474146a58045c3 (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
#ifndef DICERESULT_H
#define DICERESULT_H
#include <QList>

#include "die.h"
#include "result.h"

class DiceResult : public Result
{
public:
    DiceResult();

    qint64 getSum();
    QList<Die>& getResultList();
    void insertResult(Die);

    void setResultList(QList<Die> list);

    bool isScalar() const;
    virtual qint64 getScalar();
private:
    QList<Die> m_diceValues;
};

#endif // DICERESULT_H