summaryrefslogtreecommitdiff
path: root/src/Model/Grid.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Grid.hpp')
-rw-r--r--src/Model/Grid.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Model/Grid.hpp b/src/Model/Grid.hpp
index e69de29..a9c6c86 100644
--- a/src/Model/Grid.hpp
+++ b/src/Model/Grid.hpp
@@ -0,0 +1,27 @@
+#ifndef DEF_GRID
+#define DEF_GRID
+
+/* Grid.h
+ * Defines the class Grid
+ * A grid contains a table of cells the game will be set on
+ * Creators : krilius, manzerbredes
+ * Date : 29/04/2015 */
+
+#include <iostream>
+#include <vector>
+
+#include "Cell.hpp"
+
+class Grid
+{
+ private:
+ std::vector<std::vector<Cell*>> m_table;
+
+ public:
+ Grid(int size);
+ ~Grid();
+ void description();
+};
+
+#endif
+