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