RitualUI is now ritual::UI and uses a FSM to coordinate its activities.

This commit is contained in:
Zed A. Shaw 2025-05-01 00:24:11 -04:00
parent d1bd6b7c45
commit 8a1f42c0f1
6 changed files with 141 additions and 231 deletions

View file

@ -57,7 +57,7 @@ namespace gui {
}
}
$ritual_ui.init();
$ritual_ui.event(ritual::Event::STARTED);
$gui.init();
}
@ -70,7 +70,7 @@ namespace gui {
}
void StatusUI::select_ritual() {
$ritual_ui.toggle();
$ritual_ui.event(ritual::Event::TOGGLE);
}
void StatusUI::select_slot(DinkyECS::Entity ent, any slot_name) {