summaryrefslogtreecommitdiff
path: root/src/Model/Stats.hpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-04 14:00:54 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-04 14:00:54 +0200
commit164d94eec1b88f0e9a466585b512fc8dca4c80ed (patch)
treed32f93d24a13a4be2eaf14559217c1fccdb5e6a9 /src/Model/Stats.hpp
parent1bebaf0f924c83bfb5a91bafefcb69d98e3b8b05 (diff)
Add stats class, make a functionnal SFML game
Diffstat (limited to 'src/Model/Stats.hpp')
-rw-r--r--src/Model/Stats.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Model/Stats.hpp b/src/Model/Stats.hpp
new file mode 100644
index 0000000..49c7356
--- /dev/null
+++ b/src/Model/Stats.hpp
@@ -0,0 +1,30 @@
+#ifndef __STATS__
+#define __STATS__
+
+#include <iostream>
+
+
+
+
+
+class Stats{
+
+ private:
+ int m_score;
+ int m_nbMove;
+ public:
+
+ Stats();
+ ~Stats();
+ void incScore(int value);
+ void incnbMove();
+
+
+ int getScore();
+ int getNbMove();
+
+
+
+};
+
+#endif