Got some buttons down now to make them do stuff.

This commit is contained in:
Zed A. Shaw 2025-02-12 18:06:25 -05:00
parent be4d0d51de
commit 7eec67ffc8
2 changed files with 10 additions and 9 deletions

View file

@ -7,6 +7,7 @@
#include "fsm.hpp"
#include "render.hpp"
#include "map_view.hpp"
#include <ftxui/dom/elements.hpp> // for hflow, paragraph, separator, hbox, vbox, filler, operator|, border, Element
namespace gui {
class StatusUI : public Panel {
@ -27,6 +28,8 @@ namespace gui {
class CombatUI : public Panel {
public:
GameLevel $level;
Component $attack1_button;
Component $attack2_button;
CombatUI(GameLevel level) :
Panel(RAY_VIEW_X, RAY_VIEW_HEIGHT, 89, 6, false),