All of the UIs should be cleared out, and that just leaves the tests.

This commit is contained in:
Zed A. Shaw 2025-08-19 23:58:42 -04:00
parent d5ff57e025
commit 564f9842a2
23 changed files with 126 additions and 145 deletions

View file

@ -1,5 +1,4 @@
#pragma once
#include "levelmanager.hpp"
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/Font.hpp>
#include <guecs/ui.hpp>
@ -9,13 +8,12 @@ namespace gui {
class CombatUI {
public:
guecs::UI $gui;
GameLevel $level;
CombatUI(GameLevel level);
CombatUI();
void init();
void render(sf::RenderWindow& window);
void update_level(GameLevel &level);
void update_level();
bool mouse(float x, float y, guecs::Modifiers mods);
guecs::Entity make_button(std::string name, Events::GUI event,
int action, const std::string &icon_name,