From a8bcacc95045102e67f2feabbdddf79535837554 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 19 Aug 2021 18:46:51 +0200 Subject: forgot to make repo until now --- game/ground.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 game/ground.h (limited to 'game/ground.h') 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 star (int pos); + std::vector move_area (Gst &gst, Entity ent); +}; + +#endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf