aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRay Hogenson <rayhogenson@gmail.com>2012-05-03 15:08:19 -0800
committerRay Hogenson <rayhogenson@gmail.com>2012-05-03 15:08:19 -0800
commit7e5ecb0d0325133eee3cd6e66ccf7fdb96c231d0 (patch)
tree0886addb4c827487b6124715842ae57d2e6d629d /include
parent4f5dc7a577a4243aa7d92f625c04cb43727c9dad (diff)
downloadyetihack-7e5ecb0d0325133eee3cd6e66ccf7fdb96c231d0.tar.zst
added a new level
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