GUI is now in its own unit.

This commit is contained in:
Zed A. Shaw 2024-08-20 18:02:46 -04:00
parent 6d4aa9390a
commit ceba46c658
6 changed files with 127 additions and 89 deletions

10
gui.hpp Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#include <efsw/efsw.hpp>
#include "game_engine.hpp"
#include <filesystem>
#include <string>
void output(const string &msg);
int main_loop(GameEngine &game, std::function<bool()> runner);