Fixed a few places. Closes #11

master
Zed A. Shaw 17 hours ago
parent b603ef5a3f
commit 75c28cd764
  1. 2
      gui/combat_ui.cpp
  2. 2
      gui/combat_ui.hpp

@ -17,7 +17,7 @@ namespace gui {
); );
} }
DinkyECS::Entity CombatUI::make_button( guecs::Entity CombatUI::make_button(
std::string name, std::string name,
Events::GUI event, Events::GUI event,
int action, int action,

@ -17,7 +17,7 @@ namespace gui {
void render(sf::RenderWindow& window); void render(sf::RenderWindow& window);
void update_level(GameLevel &level); void update_level(GameLevel &level);
bool mouse(float x, float y, bool hover); 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, int action, const std::string &icon_name,
const std::string &sound, const std::string &effect_name); const std::string &sound, const std::string &effect_name);
}; };

Loading…
Cancel
Save