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
|
@ -18,7 +18,7 @@ TEST_CASE("load a basic gui run but don't loop", "[gui]") {
|
|||
save::load_configs(world);
|
||||
Map game_map(40, 40);
|
||||
WorldBuilder builder(game_map);
|
||||
builder.generate();
|
||||
builder.generate_map();
|
||||
|
||||
auto &config = world.get_the<GameConfig>();
|
||||
// configure a player as a fact of the world
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue