Move the map_view and mini_map into gui as well.
This commit is contained in:
parent
bed5ce22d2
commit
a2246d2b71
6 changed files with 5 additions and 6 deletions
19
map_view.hpp
19
map_view.hpp
|
@ -1,19 +0,0 @@
|
|||
#pragma once
|
||||
#include "levelmanager.hpp"
|
||||
#include "textures.hpp"
|
||||
#include <guecs/ui.hpp>
|
||||
#include "tilemap.hpp"
|
||||
|
||||
namespace gui {
|
||||
class MapViewUI {
|
||||
public:
|
||||
guecs::UI $gui;
|
||||
GameLevel $level;
|
||||
textures::SpriteTexture $paper;
|
||||
|
||||
MapViewUI(GameLevel &level);
|
||||
void init();
|
||||
void render(sf::RenderWindow &window, int compass_dir);
|
||||
void update_level(GameLevel &level);
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue