Make the FSM_STATE work better with optional loggins set by a define and standardize on using enum class by default.

This commit is contained in:
Zed A. Shaw 2024-09-16 06:53:49 -04:00
parent 8df6898d0b
commit 0aeb5b4ceb
8 changed files with 49 additions and 42 deletions

View file

@ -9,6 +9,7 @@
#include <nlohmann/json.hpp>
#include <fstream>
#include "builder.hpp"
#include <iostream>
using std::string, std::vector;
@ -28,7 +29,8 @@ GUI::GUI() {
}
void GUI::output(const string msg) {
_lines.push_back(msg);
// _lines.push_back(msg);
std::cout << msg << std::endl;
}
void GUI::main_loop(SFMLBackend &gui) {