World builder now loads the tile map json and usese the keys to figure out how to randomize the floor configurations.
This commit is contained in:
parent
6b4bc6cc11
commit
03c5546cdf
12 changed files with 45 additions and 39 deletions
|
@ -17,7 +17,7 @@ TEST_CASE("tilemap can load tiles and make a map", "[tilemap]") {
|
|||
WorldBuilder builder(map);
|
||||
builder.generate();
|
||||
|
||||
TileMap tiles(width, height);
|
||||
TileMap tiles(map.width(), map.height());
|
||||
auto& walls = map.walls();
|
||||
tiles.load(walls);
|
||||
tiles.dump();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue