Finally unified all of my events into one place.

This commit is contained in:
Zed A. Shaw 2025-12-17 12:51:15 -05:00
parent 6c34fea64a
commit c618a4828f
30 changed files with 215 additions and 216 deletions

View file

@ -100,7 +100,7 @@ namespace boss {
auto& [enemy, wants_to, cost, host_state] = action;
Events::Combat result{};
components::CombatResult result{};
switch(host_state) {
case BattleHostState::agree:
@ -127,6 +127,6 @@ namespace boss {
break;
}
world->send<Events::GUI>(Events::GUI::COMBAT, enemy.entity, result);
world->send<game::Event>(game::Event::COMBAT, enemy.entity, result);
}
}