More refactoring to get the GUI dumber.
This commit is contained in:
parent
2fdbd63f4c
commit
009b1e63a7
6 changed files with 86 additions and 75 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue