summaryrefslogtreecommitdiff
path: root/src/Model/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Game.cpp')
-rw-r--r--src/Model/Game.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Model/Game.cpp b/src/Model/Game.cpp
index 284d82b..e2ac799 100644
--- a/src/Model/Game.cpp
+++ b/src/Model/Game.cpp
@@ -83,3 +83,12 @@ int Game::getScore(){
int Game::getNbMove(){
return m_nbMove;
}
+
+std::vector<std::vector<int> > Game::getGrid(){
+ return m_grid.getGrid();
+}
+
+
+int Game::maxStrLenInGrid(){
+ return m_grid.maxStrLenInGrid();
+}