1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 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