You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
354 B
17 lines
354 B
#pragma once
|
|
#include "textures.hpp"
|
|
#include <guecs/ui.hpp>
|
|
#include <memory>
|
|
|
|
namespace gui {
|
|
class MiniMapUI {
|
|
public:
|
|
guecs::Text $map_grid;
|
|
guecs::UI $gui;
|
|
std::shared_ptr<sf::Font> $font = nullptr;
|
|
|
|
MiniMapUI();
|
|
void init(guecs::UI& overlay);
|
|
void render(sf::RenderWindow &window, int compass_dir);
|
|
};
|
|
}
|
|
|