Reworked the gui to use GUECS now so lots of code soon to die.

This commit is contained in:
Zed A. Shaw 2025-04-22 03:08:43 -04:00
parent e78340a0cd
commit 70c2ce7d51
9 changed files with 97 additions and 38 deletions

View file

@ -3,6 +3,7 @@
#include <string>
#include "game_engine.hpp"
#include "sfmlbackend.hpp"
#include "guecs.hpp"
using std::string;
@ -10,7 +11,8 @@ class Builder;
class GUI {
std::vector<string> _lines;
SFMLBackend &gui;
SFMLBackend &sfml;
guecs::UI $gui;
public: