#ifndef MAP_HPP #define MAP_HPP #include #include "Tile.hpp" #include "Sprite.hpp" #include "GameRenderer.hpp" class Map { private: GameRenderer *renderer; std::vector> tiles; Sprite grass_sprite; Sprite path_sprite; [[nodiscard]] std::vector generate_tiles(const std::vector &prev_tiles) const; public: double tile_offset_x; double tile_offset_y; int tile_size; Map(GameRenderer *renderer, int tile_size); void draw(double player_x, double player_y) const; void check_bounds(double player_x, double player_y); }; #endif