A retro style homage to 80s dungeon crawlers hand crafted in C++.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
#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);
|
|
|
|
};
|
|
|
|
}
|