Status UI now has a log and some buttons.

This commit is contained in:
Zed A. Shaw 2025-02-18 23:58:13 -05:00
parent 3a6ba8445a
commit bfe0d797c8
7 changed files with 61 additions and 17 deletions

View file

@ -353,6 +353,7 @@ namespace gui {
void FSM::mouse() {
// need to sort out how this will be easier with multiple UIs
$combat_view.$gui.mouse($window);
$status_view.$gui.mouse($window);
}
void FSM::generate_map() {
@ -421,6 +422,9 @@ namespace gui {
$rotation = 0;
event(Event::ATTACK);
break;
case eGUI::NOOP:
$status_view.log(fmt::format("NOOP EVENT! {},{}", evt, entity));
break;
default:
$status_view.log(fmt::format("INVALID EVENT! {},{}", evt, entity));
}