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:
parent
31e5eb7fce
commit
f2864a62ee
13 changed files with 119 additions and 76 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue