diff options
author | jacopograndi <jak.sk8@hotmail.it> | 2021-08-19 18:46:51 +0200 |
---|---|---|
committer | jacopograndi <jak.sk8@hotmail.it> | 2021-08-19 18:46:51 +0200 |
commit | a8bcacc95045102e67f2feabbdddf79535837554 (patch) | |
tree | 5781dd4cb2fe66b67deab84ff4641b7e21b9c174 /game/ground.h |
forgot to make repo until now
Diffstat (limited to 'game/ground.h')
-rw-r--r-- | game/ground.h | 22 |
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 |