diff options
Diffstat (limited to 'die.h')
| -rw-r--r-- | die.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +#ifndef DIE_H +#define DIE_H + +#include <QList> + +class Die +{ +public: + Die(); + + void setValue(qint64 r); + void insertRollValue(qint64 r); + void setSelected(bool b); + + bool isSelected() const; + qint64 getValue() const; + QList<qint64> getListValue() const; +private: + qint64 m_value; + QList<qint64> m_rollResult; + bool m_selected; +}; + +#endif // DIE_H |