diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 13:08:45 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 13:08:45 +0200 |
| commit | 1bebaf0f924c83bfb5a91bafefcb69d98e3b8b05 (patch) | |
| tree | 7b950d1bc755aa648bb3e8777e4fc6bc684bd001 /src/Model/Grid.hpp | |
| parent | 3384204edca8720958b7d20c72956037b03238ae (diff) | |
Prefer extends Game to grid than encapsulation
Diffstat (limited to 'src/Model/Grid.hpp')
| -rw-r--r-- | src/Model/Grid.hpp | 3 |
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 |
