Move the map_view and mini_map into gui as well.

This commit is contained in:
Zed A. Shaw 2025-05-16 00:07:24 -04:00
parent bed5ce22d2
commit a2246d2b71
6 changed files with 5 additions and 6 deletions

19
gui/map_view.hpp Normal file
View file

@ -0,0 +1,19 @@
#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);
};
}