Levels are now expanded out as you travel down and the stairs are only placed at the end of the level instead of randomly.

This commit is contained in:
Zed A. Shaw 2025-01-28 13:36:50 -05:00
parent 82216b8307
commit 59a6882b70
11 changed files with 57 additions and 10 deletions

View file

@ -14,6 +14,8 @@ namespace components {
events.push_back(Events::GUI::STAIRS_DOWN);
} else if(name == "Events::GUI::STAIRS_UP") {
events.push_back(Events::GUI::STAIRS_UP);
} else if(name == "Events::GUI::TRAP") {
events.push_back(Events::GUI::TRAP);
} else {
dbc::sentinel(fmt::format("Unknown device event {}", name));
}