From f30020384f816b498fe1f6013758a8de37811821 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 29 Dec 2013 02:04:19 +0100 Subject: Firt commit of the new dice system for rolisteam. --- diceresult.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 diceresult.h (limited to 'diceresult.h') diff --git a/diceresult.h b/diceresult.h new file mode 100644 index 0000000..a9d36a3 --- /dev/null +++ b/diceresult.h @@ -0,0 +1,19 @@ +#ifndef DICERESULT_H +#define DICERESULT_H +#include + +class DiceResult +{ +public: + DiceResult(); + + qint64 getSum(); + QList& getResultList(); + void insertResult(qint64); + + +private: + QList m_diceValues; +}; + +#endif // DICERESULT_H -- cgit v1.2.3-70-g09d2