diff options
Diffstat (limited to 'src/Model/Grid.hpp')
| -rw-r--r-- | src/Model/Grid.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Model/Grid.hpp b/src/Model/Grid.hpp index c431cb3..a291cc8 100644 --- a/src/Model/Grid.hpp +++ b/src/Model/Grid.hpp @@ -12,12 +12,13 @@ //#include "ModelConstants.hpp" #include "Cell.hpp" +#include "./Elements/StringElement.hpp" class Grid { private: int m_size; - std::vector<std::vector<Cell*> > m_table; + std::vector<std::vector<Cell<StringElement>*> > m_table; public: Grid(int size); @@ -26,7 +27,7 @@ class Grid bool isEmpty(int i, int j); bool gridIsFull(); - void setCell(int i, int j, Cell * cell); + void setCell(int i, int j, Cell<StringElement> * cell); }; |
