Can now use -g to set a goal.

This commit is contained in:
Zed A. Shaw 2025-04-24 13:00:40 -04:00
parent 3d4ddde96e
commit 210b0e4d21
7 changed files with 40 additions and 13 deletions

View file

@ -29,7 +29,6 @@ enum BuildEvent {
};
class Builder : DeadSimpleFSM<BuildState, BuildEvent> {
// FOUND BUG: this was interesting, it got copied but the gui kept working until the refactor
GUI &gui;
GameEngine &game;
string git_path = "NOT SET";
@ -44,6 +43,7 @@ class Builder : DeadSimpleFSM<BuildState, BuildEvent> {
std::future<string> read_fut;
std::mutex fsm_mutex;
git_repository* repo = nullptr;
std::unordered_map<string, int> $hit_line_stats;
public: