summaryrefslogtreecommitdiff
path: root/src/Model/Grid.hpp
diff options
context:
space:
mode:
authorkrilius <krilius@MacBook-Pro-de-Ulrich.local>2015-04-29 15:42:41 +0400
committerkrilius <krilius@MacBook-Pro-de-Ulrich.local>2015-04-29 15:42:41 +0400
commit3840053da7d3343eeb0c60854f20bcf72c58c45d (patch)
treee987e75210579e363d3ce07e4ecfe545130e4032 /src/Model/Grid.hpp
parent08113f5b6d701d6dee239225c17a9b5eb47de0c1 (diff)
First main created
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
+