More refactoring in prep for a real design.
This commit is contained in:
parent
b9e9119832
commit
e35536c7e3
10 changed files with 229 additions and 186 deletions
10
gui.hpp
10
gui.hpp
|
@ -5,6 +5,12 @@
|
|||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
void output(const string &msg);
|
||||
class GUI {
|
||||
vector<string> lines;
|
||||
|
||||
int main_loop(GameEngine &game, std::function<bool()> runner);
|
||||
public:
|
||||
|
||||
void output(const string &msg);
|
||||
|
||||
int main_loop(GameEngine &game, std::function<bool()> runner);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue