Swapping and putting back now work in the status_ui inventory, but now I need to refactor so this operation works on any inventory::Model.

This commit is contained in:
Zed A. Shaw 2025-07-02 23:24:06 -04:00
parent 784f753e72
commit 2421a33bb0
3 changed files with 34 additions and 4 deletions

View file

@ -26,5 +26,8 @@ namespace gui {
void remove_slot(guecs::Entity slot_id);
bool place_slot(guecs::Entity gui_id, DinkyECS::Entity world_entity);
bool drop_item(DinkyECS::Entity item_id);
void swap(guecs::Entity gui_a, guecs::Entity gui_b);
bool occupied(guecs::Entity slot);
};
}