Game now loads random enemies and items into rooms but in rudimentary way. Need to now randomize more of it and make it more robust so only changing the .json is needed to get new effects and enemies.

This commit is contained in:
Zed A. Shaw 2025-01-06 15:20:54 -05:00
parent 31e5eb7fce
commit f2864a62ee
13 changed files with 119 additions and 76 deletions

View file

@ -12,7 +12,7 @@ using namespace lighting;
TEST_CASE("lighting a map works", "[lighting]") {
Map map(20,23);
WorldBuilder builder(map);
builder.generate();
builder.generate_map();
Point light1 = map.place_entity(0);
Point light2 = map.place_entity(1);