UI is now working the same as last time but using GUECS.

This commit is contained in:
Zed A. Shaw 2025-04-22 11:54:35 -04:00
parent 70c2ce7d51
commit 8f3a3c10c2
5 changed files with 41 additions and 18 deletions

View file

@ -117,6 +117,8 @@ void Builder::START(BuildEvent) {
wid = fileWatcher->addWatch(git_path, listener, true);
fileWatcher->watch();
gui.update_status(game);
state(BuildState::WAITING);
}
@ -167,6 +169,8 @@ void Builder::READING(BuildEvent) {
}
void Builder::DONE(BuildEvent) {
gui.update_status(game);
if(game.is_dead()) {
gui.you_died();
}