summaryrefslogtreecommitdiff
path: root/src/Model/Game.hpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-03 02:02:22 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-03 02:02:22 +0200
commit9977050e6ecb92570698bbacac1a82b74e5e87a4 (patch)
treeb80ad6c4e1cbe916bc0175e81afc262e5f1744f7 /src/Model/Game.hpp
parent30f603ecd31e5cd849e22bc66d85da2e2d526cc5 (diff)
Add score and nb move(s) support
Diffstat (limited to 'src/Model/Game.hpp')
-rw-r--r--src/Model/Game.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Model/Game.hpp b/src/Model/Game.hpp
index 040885d..bb8b995 100644
--- a/src/Model/Game.hpp
+++ b/src/Model/Game.hpp
@@ -17,7 +17,8 @@ class Game
{
private:
Grid m_grid;
-
+ int m_score;
+ int m_nbMove;
public:
Game();
~Game();
@@ -26,6 +27,9 @@ class Game
void coutGrid();
void popRandomNumber();
bool isOver();
+
+ int getScore();
+ int getNbMove();
};
#endif