More refactoring to get the GUI dumber.

This commit is contained in:
Zed A. Shaw 2024-10-30 02:13:31 -04:00
parent 2fdbd63f4c
commit 009b1e63a7
6 changed files with 86 additions and 75 deletions

View file

@ -25,15 +25,4 @@ namespace Components {
struct Tile {
std::string chr = "!";
};
struct ActionLog {
std::deque<std::string> messages;
void log(std::string msg) {
messages.push_front(msg);
if(messages.size() > 20) {
messages.pop_back();
}
}
};
}