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:
parent
94385b195d
commit
842aac3127
5 changed files with 47 additions and 32 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue