summaryrefslogtreecommitdiff
path: root/src/Model/Game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Game.hpp')
-rw-r--r--src/Model/Game.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Model/Game.hpp b/src/Model/Game.hpp
index e5d19e5..77be7d7 100644
--- a/src/Model/Game.hpp
+++ b/src/Model/Game.hpp
@@ -13,11 +13,11 @@
#include "Grid.hpp"
#include <tuple>
-class Game
+class Game : public Grid
{
private:
//Members
- Grid m_grid;
+ //Grid m_grid;
int m_score;
int m_nbMove;
@@ -30,13 +30,13 @@ class Game
bool swipe(kbdh::Direction direction);
void coutGrid();
void popRandomNumber();
- bool isOver();
+ //bool isOver();
//Getters and Setters
int getScore();
int getNbMove();
- int maxStrLenInGrid();
- std::vector<std::vector<int> > getGrid();
+ //int maxStrLenInGrid();
+ //std::vector<std::vector<int> > getGrid();
};
#endif