diff options
Diffstat (limited to '')
-rw-r--r-- | source/ItemGrid.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/ItemGrid.h b/source/ItemGrid.h index 72b7d3b03..6b2713c45 100644 --- a/source/ItemGrid.h +++ b/source/ItemGrid.h @@ -62,6 +62,12 @@ public: void EmptySlot(int a_X, int a_Y);
void EmptySlot(int a_SlotNum);
+ /// Returns true if the specified slot is empty or the slot doesn't exist
+ bool IsSlotEmpty(int a_SlotNum) const;
+
+ /// Returns true if the specified slot is empty or the slot doesn't exist
+ bool IsSlotEmpty(int a_X, int a_Y) const;
+
/// Sets all items as empty
void Clear(void);
|