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

@ -17,7 +17,7 @@ json load_test_data(const string &fname) {
TEST_CASE("camera control", "[map]") {
Map map(20, 20);
WorldBuilder builder(map);
builder.generate();
builder.generate_map();
Point center = map.center_camera({10,10}, 5, 5);