Maze works well now and there's something placed in all rooms and dead ends. Will need to randomize it more so not every dead end is an enemy.
This commit is contained in:
parent
a0b785cb2a
commit
ac252bf09d
7 changed files with 48 additions and 77 deletions
|
@ -14,10 +14,12 @@ class WorldBuilder {
|
|||
$components(components)
|
||||
{ }
|
||||
|
||||
void add_door(Room &room);
|
||||
void generate_map();
|
||||
|
||||
DinkyECS::Entity configure_entity_in_map(DinkyECS::World &world, nlohmann::json &entity_data, Point pos);
|
||||
|
||||
DinkyECS::Entity configure_entity_in_map(DinkyECS::World &world, nlohmann::json &entity_data, int in_room);
|
||||
|
||||
void place_entities(DinkyECS::World &world);
|
||||
void generate(DinkyECS::World &world);
|
||||
void randomize_entities(DinkyECS::World &world, components::GameConfig &config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue