Even better API, but still not the best organization. This will let me implement both sides, then I can pull it out and try to generalize it into a few guecs components.
This commit is contained in:
parent
3e0adf0c22
commit
4b0d76bbcc
7 changed files with 63 additions and 22 deletions
|
@ -9,7 +9,7 @@ namespace guecs {
|
|||
Clickable make_action(DinkyECS::World& target, Events::GUI event, std::any data);
|
||||
|
||||
struct GrabSource : public Sprite {
|
||||
void grab(sf::RenderWindow& window);
|
||||
void grab();
|
||||
void move(sf::Vector2i position);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue