summaryrefslogtreecommitdiff
path: root/src/Model/Game.cpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-03 20:23:43 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-03 20:23:43 +0200
commit6b37ae07ffe0d233b7ff54558d7d39e3e9035e0d (patch)
tree1d9cdec6c0c6b6477a8fd965456a176be376671a /src/Model/Game.cpp
parent1bf3038477b05cf9ead455116ef8125c123a4aae (diff)
Add font and fast programming to test the game
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();
+}