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:
parent
8df6898d0b
commit
0aeb5b4ceb
8 changed files with 49 additions and 42 deletions
4
gui.cpp
4
gui.cpp
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue