Can now script maze gen with a json.
This commit is contained in:
parent
a71d6340db
commit
c615f4fc1e
3 changed files with 79 additions and 10 deletions
|
|
@ -46,4 +46,6 @@ namespace maze {
|
|||
void punch_dead_end(size_t at_x, size_t at_y, size_t x, size_t y);
|
||||
void in_bounds(size_t x, size_t y);
|
||||
};
|
||||
|
||||
std::pair<Builder, bool> script(Map& map, nlohmann::json& config);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue