diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index edadd7a0..d2aef38b 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -137,6 +137,11 @@ class LocalPlayer : public Player Item* getInvItem(int index); /** + * Move the Inventory item from the old slot to the new slot. + */ + void moveInvItem(Item *item, int newIndex); + + /** * Equips an item. */ void equipItem(Item *item); @@ -146,8 +151,12 @@ class LocalPlayer : public Player */ void unequipItem(int slot); - void useItem(Item *item); + void useItem(int slot); + void dropItem(Item *item, int quantity); + + void splitItem(Item *item, int quantity); + void pickUp(FloorItem *item); /** |