Ready to refactor the tilemap so I can stylize different parts of the maps generated.

This commit is contained in:
Zed A. Shaw 2025-05-24 12:34:45 -04:00
parent 96a585220b
commit f45dbe8c48
3 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ void TileMap::set_tile(size_t x, size_t y, string tile_name) {
void TileMap::load(matrix::Matrix &walls) {
for(matrix::each_cell it{walls}; it.next();) {
string tile_name = walls[it.y][it.x] == SPACE_VALUE ? "FLOOR_TILE" : "WALL_MOSS";
string tile_name = walls[it.y][it.x] == SPACE_VALUE ? "FLOOR_TILE" : "WALL_PLAIN";
set_tile(it.x, it.y, tile_name);
}
}