Just need one function for the 'hold_item' action.

This commit is contained in:
Zed A. Shaw 2025-07-06 23:35:17 -04:00
parent 265e53e05a
commit cd89625c96
2 changed files with 17 additions and 28 deletions

View file

@ -52,8 +52,7 @@ namespace gui {
bool commit_move(guecs::UI& gui,
std::optional<guecs::Entity> source_id, std::any data);
bool hold_world_item();
bool hold_inv_item(std::any& data);
bool hold_item(guecs::UI& gui, guecs::Entity gui_id);
bool throw_on_floor(guecs::UI& gui, bool from_status);
void clear_grab();