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,19 +1,17 @@
#pragma once
#include "levelmanager.hpp"
#include "textures.hpp"
#include <guecs/ui.hpp>
#include <memory>
namespace gui {
class MiniMapUI {
public:
guecs::Text $map_grid;
guecs::UI $gui;
GameLevel $level;
shared_ptr<sf::Font> $font = nullptr;
std::shared_ptr<sf::Font> $font = nullptr;
MiniMapUI(GameLevel &level);
MiniMapUI();
void init(guecs::UI& overlay);
void render(sf::RenderWindow &window, int compass_dir);
void update_level(GameLevel &level);
};
}