Bring back the convenience method to click on a cell by name.

This commit is contained in:
Zed A. Shaw 2025-08-14 13:01:27 -04:00
parent 4b4992185f
commit 41d568ab25
2 changed files with 5 additions and 0 deletions

View file

@ -77,6 +77,7 @@ namespace guecs {
void init();
void render(sf::RenderWindow& window);
bool mouse(float x, float y, Modifiers mods);
void click_on(const std::string& name, Modifiers mods=NO_MODS);
void click_on(Entity slot_id, Modifiers mods=NO_MODS);
void debug_layout(sf::RenderWindow& window);