aboutsummaryrefslogtreecommitdiff
path: root/game/ground.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/ground.h')
-rw-r--r--game/ground.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/game/ground.h b/game/ground.h
new file mode 100644
index 0000000..545deb9
--- /dev/null
+++ b/game/ground.h
@@ -0,0 +1,22 @@
+#ifndef GROUND_H
+#define GROUND_H
+
+#include "entity.h"
+
+class Gst;
+
+class Ground {
+ public:
+ Ground (int sx, int sy);
+ ~Ground ();
+
+ int *tiles;
+
+ int sizex;
+ int sizey;
+ int at (int x, int y);
+ std::vector<int> star (int pos);
+ std::vector<int> move_area (Gst &gst, Entity ent);
+};
+
+#endif \ No newline at end of file