Got some kind of jank button and mouse events coming in, now just need to connect them to the GUI to detect button presses and other interaction.

This commit is contained in:
Zed A. Shaw 2024-09-17 11:55:01 -04:00
parent 9741df30ab
commit 37d28094ec
5 changed files with 56 additions and 27 deletions

View file

@ -88,6 +88,15 @@ void GameEngine::IN_ROUND(GameEvent ev, string &hit_type) {
case GameEvent::BUILD_FAILED:
state(GameState::FAILURE);
break;
case GameEvent::TASK_DONE:
dbc::log("TASK_DONE received in IDLE");
break;
case GameEvent::TIMER_EXPIRED:
dbc::log("TIMER_EXPIRED received in IDLE");
break;
default:
state(GameState::IN_ROUND);
}