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
17
builder.hpp
Normal file
17
builder.hpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
#include "gui.hpp"
|
||||
#include "game_engine.hpp"
|
||||
|
||||
class Builder {
|
||||
GUI gui;
|
||||
GameEngine game;
|
||||
|
||||
public:
|
||||
|
||||
Builder(GUI &g, GameEngine &engine) : gui(g), game(engine) {};
|
||||
|
||||
void run_build(GameEngine &game, const char* command);
|
||||
|
||||
void run(const char *git_path, const char *build_cmd);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue