/* * Module Name: Map * Description: Load Maps. Don't even worry about this. It'll all be different soon. */ class Map { int width, height, sx, sy; int tileset[15]; int tiles[MAX_MAP_H][MAX_MAP_W]; SDL_Surface *sheet; public: //constructors and destructor. Map(void); ~Map(void); //drawing stuff void drawmap(SDL_Surface *); void draw_tile(SDL_Surface *, int, int, int); //getters int get_passability(int, int); int get_tile(int, int); int get_sx(); int get_sy(); void set_sx(int); void set_sy(int); };