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:
parent
784f753e72
commit
2421a33bb0
3 changed files with 34 additions and 4 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue