Just need one function for the 'hold_item' action.
This commit is contained in:
parent
265e53e05a
commit
cd89625c96
2 changed files with 17 additions and 28 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue