After some prototyping I have what I think I want for the map. Just a simple piece of paper you take out that has the ASCII map on it.
This commit is contained in:
parent
acbf384e2a
commit
6c9016eb0f
21 changed files with 1184 additions and 92 deletions
|
@ -2,16 +2,17 @@
|
|||
#include "levelmanager.hpp"
|
||||
#include "textures.hpp"
|
||||
#include "guecs.hpp"
|
||||
#include "tilemap.hpp"
|
||||
|
||||
namespace gui {
|
||||
class MapViewUI {
|
||||
public:
|
||||
guecs::UI $gui;
|
||||
guecs::UI $grid;
|
||||
GameLevel $level;
|
||||
TileMap $tiles;
|
||||
|
||||
MapViewUI(GameLevel &level);
|
||||
void init();
|
||||
void init(int x, int y, int w, int h);
|
||||
void render(sf::RenderWindow &window);
|
||||
void update_level(GameLevel &level);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue