Better design that has a render/update cycle for components.

This commit is contained in:
Zed A. Shaw 2026-04-20 16:02:13 -04:00
parent 48b672eec4
commit 2dbfac27c6
5 changed files with 38 additions and 21 deletions

View file

@ -82,6 +82,7 @@ namespace guecs {
void init();
void render(sf::RenderTarget& window);
void update();
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);