Have a basic map prototype gui working.

This commit is contained in:
Zed A. Shaw 2025-03-20 04:13:22 -04:00
parent 8b3573b01d
commit a53f81715d
4 changed files with 60 additions and 3 deletions

View file

@ -1,13 +1,18 @@
#pragma once
#include "levelmanager.hpp"
#include "textures.hpp"
#include "guecs.hpp"
namespace gui {
class MapViewUI {
public:
guecs::UI $gui;
guecs::UI $grid;
GameLevel $level;
MapViewUI(GameLevel &level);
void draw_map();
void init();
void render(sf::RenderWindow &window);
void update_level(GameLevel &level);
};
}