UI is now working the same as last time but using GUECS.

This commit is contained in:
Zed A. Shaw 2025-04-22 11:54:35 -04:00
parent 70c2ce7d51
commit 8f3a3c10c2
5 changed files with 41 additions and 18 deletions

View file

@ -13,15 +13,15 @@ class GUI {
std::vector<string> _lines;
SFMLBackend &sfml;
guecs::UI $gui;
std::wstring $status;
DinkyECS::Entity $hp_bar;
public:
GUI(SFMLBackend &backend);
// prevent copy
GUI(GUI &g) = delete;
void output(const string msg);
void update_status(GameEngine &game);
void main_loop();