Played around with a circular map real quick.
This commit is contained in:
parent
9dcc2036aa
commit
c0d668fb0b
5 changed files with 18 additions and 7 deletions
|
@ -10,10 +10,23 @@
|
|||
using namespace fmt;
|
||||
using namespace components;
|
||||
|
||||
void big_donut() {
|
||||
// maze.inner_donut(12, 3);
|
||||
// $map.invert_space();
|
||||
// maze.hunt_and_kill({11,11});
|
||||
|
||||
// maze.init();
|
||||
// maze.inner_donut(12, 3);
|
||||
// $map.invert_space();
|
||||
// maze.hunt_and_kill({11,11});
|
||||
}
|
||||
|
||||
void WorldBuilder::generate_map() {
|
||||
maze::Builder maze($map);
|
||||
|
||||
maze.hunt_and_kill();
|
||||
maze.init();
|
||||
|
||||
maze.randomize_rooms();
|
||||
|
||||
if($map.width() > 20) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue