diff options
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index 2cc0ed13..ed332345 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -106,7 +106,7 @@ class ItemContainer : public gcn::Widget int getQuantity(int index); /** - * Returns id of next free slot or -1 i all occupied. + * Returns id of next free slot or -1 if all occupied. */ int getFreeSlot(); @@ -144,6 +144,11 @@ class ItemContainer : public gcn::Widget void setEquipped(int index, bool equipped); void setEquipment(int index, bool equipment); + + /** + * Get the number of slots filled with an item + */ + int getNumberOfSlotsUsed(); }; #endif |