Combat UI now uses different icons for different attack elements.
This commit is contained in:
parent
30997cbff5
commit
eb709930f5
2 changed files with 26 additions and 6 deletions
|
@ -17,6 +17,6 @@ namespace gui {
|
|||
void render(sf::RenderWindow& window);
|
||||
void update_level(GameLevel &level);
|
||||
bool mouse(float x, float y, bool hover);
|
||||
void make_button(std::string name, std::wstring label, Events::GUI event, int action);
|
||||
void make_button(std::string name, std::wstring label, Events::GUI event, int action, const std::string &icon_name);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue