RitualUI is now ritual::UI and uses a FSM to coordinate its activities.
This commit is contained in:
parent
d1bd6b7c45
commit
8a1f42c0f1
6 changed files with 141 additions and 231 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue