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.
20 lines
448 B
20 lines
448 B
#pragma once
|
|
#include "levelmanager.hpp"
|
|
#include "textures.hpp"
|
|
#include "guecs.hpp"
|
|
#include "tilemap.hpp"
|
|
|
|
namespace gui {
|
|
class MiniMapUI {
|
|
public:
|
|
guecs::Textual $map_grid;
|
|
guecs::UI $gui;
|
|
GameLevel $level;
|
|
shared_ptr<sf::Font> $font = nullptr;
|
|
|
|
MiniMapUI(GameLevel &level);
|
|
void init(guecs::UI& overlay);
|
|
void render(sf::RenderWindow &window);
|
|
void update_level(GameLevel &level);
|
|
};
|
|
}
|
|
|