Worked out an initial stab at a GrabSource for drag-n-drop or just simple grabbing things in the UI.

This commit is contained in:
Zed A. Shaw 2025-06-07 15:29:18 -04:00
parent 94385b195d
commit 842aac3127
5 changed files with 47 additions and 32 deletions

View file

@ -49,7 +49,8 @@ namespace gui {
LootUI $loot_ui;
sf::Font $font;
gui::routing::Router $router;
shared_ptr<sf::Sprite> $dumb_sprite = nullptr;
std::optional<DinkyECS::Entity> $grab_source;
std::optional<DinkyECS::Entity> $drop_target;
FSM();