Better design that has a render/update cycle for components.
This commit is contained in:
parent
48b672eec4
commit
2dbfac27c6
5 changed files with 38 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue