You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
433 B
18 lines
433 B
#pragma once
|
|
#include "panel.hpp"
|
|
#include "levelmanager.hpp"
|
|
#include "constants.hpp"
|
|
#include <deque>
|
|
|
|
namespace gui {
|
|
class StatusUI : public Panel {
|
|
public:
|
|
std::vector<Element> $log_list;
|
|
std::deque<std::string> $messages;
|
|
GameLevel $level;
|
|
StatusUI(GameLevel level);
|
|
void create_render();
|
|
void update_level(GameLevel &level) { $level = level; }
|
|
void log(std::string msg);
|
|
};
|
|
}
|
|
|