diff options
| author | Ray Hogenson <rayhogenson@gmail.com> | 2012-05-03 15:08:19 -0800 |
|---|---|---|
| committer | Ray Hogenson <rayhogenson@gmail.com> | 2012-05-03 15:08:19 -0800 |
| commit | 7e5ecb0d0325133eee3cd6e66ccf7fdb96c231d0 (patch) | |
| tree | 0886addb4c827487b6124715842ae57d2e6d629d /include | |
| parent | 4f5dc7a577a4243aa7d92f625c04cb43727c9dad (diff) | |
| download | yetihack-7e5ecb0d0325133eee3cd6e66ccf7fdb96c231d0.tar.zst | |
added a new level
Diffstat (limited to 'include')
| -rw-r--r-- | include/grid.h | 17 | ||||
| -rw-r--r-- | include/yeti.h | 3 |
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 |
