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.
20 lines
391 B
20 lines
391 B
#pragma once
|
|
#include "panel.hpp"
|
|
#include <ftxui/dom/canvas.hpp>
|
|
#include "levelmanager.hpp"
|
|
|
|
using ftxui::Canvas;
|
|
|
|
namespace gui {
|
|
class MapViewUI : public Panel {
|
|
public:
|
|
Canvas $canvas;
|
|
GameLevel $level;
|
|
|
|
MapViewUI(GameLevel &level);
|
|
void create_render();
|
|
void resize_canvas();
|
|
void draw_map();
|
|
void update_level(GameLevel &level);
|
|
};
|
|
}
|
|
|