aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/grid.h17
-rw-r--r--include/yeti.h3
2 files changed, 18 insertions, 2 deletions
diff --git a/include/grid.h b/include/grid.h
new file mode 100644
index 0000000..68f9928
--- /dev/null
+++ b/include/grid.h
@@ -0,0 +1,17 @@
+#ifndef GRID_H
+#define GRID_H
+#include <vector>
+#include <yeti>
+using namespace std;
+
+class grid
+{
+ public:
+ add(yeti);
+ grid();
+ move();
+ refresh();
+ private:
+ vector<yeti> objects;
+}
+#endif
diff --git a/include/yeti.h b/include/yeti.h
index 093b69e..4eeb1d7 100644
--- a/include/yeti.h
+++ b/include/yeti.h
@@ -1,6 +1,5 @@
#ifndef YETI_H
#define YETI_H
-#endif
#include <vector>
using namespace std;
@@ -24,4 +23,4 @@ class yeti
int sizey;
int absolute(int);
};
-
+#endif