aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceresult.h
blob: 42f7e5c3bc1c111f0cc1c13da5930ed5a89ed9b9 (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