summaryrefslogtreecommitdiff
path: root/src/Model/Grid.hpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-03 02:02:22 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-03 02:02:22 +0200
commit9977050e6ecb92570698bbacac1a82b74e5e87a4 (patch)
treeb80ad6c4e1cbe916bc0175e81afc262e5f1744f7 /src/Model/Grid.hpp
parent30f603ecd31e5cd849e22bc66d85da2e2d526cc5 (diff)
Add score and nb move(s) support
Diffstat (limited to 'src/Model/Grid.hpp')
-rw-r--r--src/Model/Grid.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Model/Grid.hpp b/src/Model/Grid.hpp
index 09f3e5e..4ed5c10 100644
--- a/src/Model/Grid.hpp
+++ b/src/Model/Grid.hpp
@@ -18,7 +18,10 @@ class Grid
int m_size;
std::vector<std::vector<int> > m_grid;
+ int m_lastMoveScore;
+
int maxStrLenInGrid();
+
public:
Grid();
~Grid();
@@ -50,6 +53,8 @@ class Grid
bool swipeLeft();
bool swipeUp();
bool swipeDown();
+
+ int getLastMoveScore();
};