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:
parent
5c47a0151c
commit
0674908e49
8 changed files with 184 additions and 6 deletions
2
main.cpp
2
main.cpp
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue