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

@ -24,7 +24,7 @@ namespace gui {
gui.set<Clickable>(area, {
[&](auto) {
auto world = GameDB::current_world();
world->send<Events::GUI>(Events::GUI::AIM_CLICK, area, {});
world->send<game::Event>(game::Event::AIM_CLICK, area, {});
}
});
}