From 9977050e6ecb92570698bbacac1a82b74e5e87a4 Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Sun, 3 May 2015 02:02:22 +0200 Subject: Add score and nb move(s) support --- src/Model/Grid.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Model/Grid.hpp') 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 > m_grid; + int m_lastMoveScore; + int maxStrLenInGrid(); + public: Grid(); ~Grid(); @@ -50,6 +53,8 @@ class Grid bool swipeLeft(); bool swipeUp(); bool swipeDown(); + + int getLastMoveScore(); }; -- cgit v1.2.3