Implemented an initial cut at the event router. Its job is to take the random events from SFML and translate them into nice clean orderly events to the Gui::FSM.

This commit is contained in:
Zed A. Shaw 2025-06-04 12:19:24 -04:00
parent 5c47a0151c
commit 0674908e49
8 changed files with 184 additions and 6 deletions

View file

@ -40,7 +40,7 @@ int main(int argc, char* argv[]) {
if(main.autowalking) {
walker.autowalk();
} else {
main.keyboard_mouse();
main.handle_keyboard_mouse();
}
} else{
main.event(gui::Event::TICK);