Have a basic map prototype gui working.
This commit is contained in:
parent
8b3573b01d
commit
a53f81715d
4 changed files with 60 additions and 3 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue