summaryrefslogtreecommitdiff
path: root/src/Model/Grid.hpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-04 13:08:45 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-04 13:08:45 +0200
commit1bebaf0f924c83bfb5a91bafefcb69d98e3b8b05 (patch)
tree7b950d1bc755aa648bb3e8777e4fc6bc684bd001 /src/Model/Grid.hpp
parent3384204edca8720958b7d20c72956037b03238ae (diff)
Prefer extends Game to grid than encapsulation
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 604a6ff..22416b0 100644
--- a/src/Model/Grid.hpp
+++ b/src/Model/Grid.hpp
@@ -16,8 +16,9 @@ class Grid
{
private:
//Members
- int m_size;
+ protected:
std::vector<std::vector<int> > m_grid;
+ int m_size;
int m_lastMoveScore;
//Private methods