From 75c28cd7643776017bd0d92be11bfbfa15e628c5 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Sat, 28 Jun 2025 23:30:41 -0400 Subject: [PATCH] Fixed a few places. Closes #11 --- gui/combat_ui.cpp | 2 +- gui/combat_ui.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/combat_ui.cpp b/gui/combat_ui.cpp index 096ec81..b4a60e5 100644 --- a/gui/combat_ui.cpp +++ b/gui/combat_ui.cpp @@ -17,7 +17,7 @@ namespace gui { ); } - DinkyECS::Entity CombatUI::make_button( + guecs::Entity CombatUI::make_button( std::string name, Events::GUI event, int action, diff --git a/gui/combat_ui.hpp b/gui/combat_ui.hpp index 96f2cb8..e8f4a3d 100644 --- a/gui/combat_ui.hpp +++ b/gui/combat_ui.hpp @@ -17,7 +17,7 @@ namespace gui { void render(sf::RenderWindow& window); void update_level(GameLevel &level); bool mouse(float x, float y, bool hover); - DinkyECS::Entity make_button(std::string name, Events::GUI event, + 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); };