Setup for the LevelManager to take charge of all level operations.

This commit is contained in:
Zed A. Shaw 2025-01-20 15:12:31 -05:00
parent 193f5f915e
commit 18a5f6bfa9
7 changed files with 99 additions and 11 deletions

View file

@ -287,6 +287,9 @@ void GUI::handle_world_events() {
} break;
case eGUI::STAIRS_DOWN: {
auto& device = std::any_cast<Device&>(data);
next_level();
$status_ui.log(format("Up stairs has test {}.",
(bool)device.config["test"]));
toggle_modal(&$next_level_ui, $next_level);
@ -495,3 +498,7 @@ int GUI::main(bool run_once) {
return 0;
}
void GUI::next_level() {
}