Got some buttons down now to make them do stuff.
This commit is contained in:
parent
be4d0d51de
commit
7eec67ffc8
2 changed files with 10 additions and 9 deletions
3
gui.hpp
3
gui.hpp
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue