Prior to deleting the TileMap to see if I can just replace it with new features in Map and textures::.

This commit is contained in:
Zed A. Shaw 2025-05-25 10:30:45 -04:00
parent f45dbe8c48
commit ea9f6bf383
5 changed files with 15 additions and 8 deletions

View file

@ -28,8 +28,8 @@ public:
size_t width() { return $width; }
size_t height() { return $height; }
void load(matrix::Matrix &walls);
const components::Tile &at(size_t x, size_t y);
void set_tile(size_t x, size_t y, std::string tile_name);
const components::Tile& at(size_t x, size_t y);
void set_tile(size_t x, size_t y, const std::string& tile_name);
std::vector<std::string> tile_names(bool collision);
std::string to_string(int show_x, int show_y);