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); };