Converted the buttons to reflect the actions you can take.

This commit is contained in:
Zed A. Shaw 2025-04-08 14:36:51 -04:00
parent d7e9944e58
commit b5d93399d5
4 changed files with 16 additions and 9 deletions

View file

@ -3,6 +3,7 @@
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/Font.hpp>
#include "guecs.hpp"
#include "events.hpp"
namespace gui {
class CombatUI {
@ -17,6 +18,6 @@ namespace gui {
void update_level(GameLevel &level);
void set_damage(float percent);
bool mouse(float x, float y);
void make_button(std::string name, std::wstring label);
void make_button(std::string name, std::wstring label, Events::GUI event);
};
}