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