Made it so you can right-click on an item to use it, but yeah it's bad. Gotta refactor.

This commit is contained in:
Zed A. Shaw 2025-08-13 11:43:23 -04:00
parent 42575ef1f5
commit ad0069e899
9 changed files with 48 additions and 61 deletions

View file

@ -20,6 +20,5 @@ namespace gui {
guecs::Entity make_button(std::string name, Events::GUI event,
int action, const std::string &icon_name,
const std::string &sound, const std::string &effect_name);
void use_item(guecs::Entity gui_id, const string& slot);
};
}