You now have blood on your screen when below half health.

This commit is contained in:
Zed A. Shaw 2025-02-13 13:15:20 -05:00
parent 1c8f542c21
commit d2700d2928
12 changed files with 90 additions and 13 deletions

View file

@ -2,13 +2,17 @@
#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);
};
}