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.
19 lines
388 B
19 lines
388 B
3 weeks ago
|
#pragma once
|
||
|
#include "panel.hpp"
|
||
|
#include "levelmanager.hpp"
|
||
|
#include <ftxui/component/component.hpp>
|
||
|
|
||
|
namespace gui {
|
||
|
class CombatUI : public Panel {
|
||
|
public:
|
||
|
GameLevel $level;
|
||
|
Component $attack1_button;
|
||
|
Component $attack2_button;
|
||
|
|
||
|
CombatUI(GameLevel level);
|
||
|
|
||
|
void create_render();
|
||
|
void update_level(GameLevel &level) { $level = level; }
|
||
|
};
|
||
|
}
|