Nuke taught me the other way to make class enums not suck so I guess no FU?
This commit is contained in:
parent
9b3b81683a
commit
1c8f542c21
3 changed files with 26 additions and 49 deletions
|
@ -1,18 +1,15 @@
|
|||
#pragma once
|
||||
#include "panel.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
#include <ftxui/component/component.hpp>
|
||||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
|
||||
namespace gui {
|
||||
class CombatUI : public Panel {
|
||||
class CombatUI {
|
||||
public:
|
||||
GameLevel $level;
|
||||
Component $attack1_button;
|
||||
Component $attack2_button;
|
||||
|
||||
CombatUI(GameLevel level);
|
||||
|
||||
void create_render();
|
||||
void draw(sf::RenderWindow& window);
|
||||
void update_level(GameLevel &level) { $level = level; }
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue