summaryrefslogtreecommitdiff
path: root/src/Model/Grid.hpp
diff options
context:
space:
mode:
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();
};