summaryrefslogtreecommitdiff
path: root/src/Model/Grid.hpp
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/Grid.hpp
parent1bf3038477b05cf9ead455116ef8125c123a4aae (diff)
Add font and fast programming to test the game
Diffstat (limited to 'src/Model/Grid.hpp')
-rw-r--r--src/Model/Grid.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Model/Grid.hpp b/src/Model/Grid.hpp
index 51168a9..604a6ff 100644
--- a/src/Model/Grid.hpp
+++ b/src/Model/Grid.hpp
@@ -21,7 +21,6 @@ class Grid
int m_lastMoveScore;
//Private methods
- int maxStrLenInGrid();
public:
//Constructor and Destructor
@@ -34,6 +33,7 @@ class Grid
std::vector<int> rightMerge(std::vector<int> line);
std::vector<int> leftMerge(std::vector<int> line);
+ int maxStrLenInGrid();
//Swipe methods
bool swipeRight();
bool swipeLeft();
@@ -55,6 +55,7 @@ class Grid
std::vector<int> getCol(int col);
void setCol(int col, std::vector<int> colVect);
int getLastMoveScore();
+ std::vector<std::vector<int> > getGrid();
};