#pragma once #include "components.hpp" #include "events.hpp" #include #include "textures.hpp" namespace guecs { Clickable make_action(DinkyECS::World& target, Events::GUI event); Clickable make_action(DinkyECS::World& target, Events::GUI event, std::any data); struct GrabSource : public Sprite { void grab(); void move(sf::Vector2i position); }; struct DropTarget { std::function commit; }; }