aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/inventory.h')
-rw-r--r--engines/mads/inventory.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/engines/mads/inventory.h b/engines/mads/inventory.h
index 245d439188..2ca270649e 100644
--- a/engines/mads/inventory.h
+++ b/engines/mads/inventory.h
@@ -54,17 +54,6 @@ class InventoryObjects: public Common::Array<InventoryObject> {
private:
MADSEngine *_vm;
- /**
- * Removes the specified object from the player's inventory
- */
- void addToInventory(int objectId);
-
- /**
- * Removes the specified object to the player's inventory
- * @param objectId Object to remove
- * @param newScene Specifies the new scene to set the item to
- */
- void removeFromInventory(int objectId, int newScene);
public:
Common::Array<int> _inventoryList;
@@ -104,6 +93,18 @@ public:
* Returns true if a given object is in the player's inventory
*/
bool isInInventory(int objectId) const;
+
+ /**
+ * Removes the specified object from the player's inventory
+ */
+ void addToInventory(int objectId);
+
+ /**
+ * Removes the specified object to the player's inventory
+ * @param objectId Object to remove
+ * @param newScene Specifies the new scene to set the item to
+ */
+ void removeFromInventory(int objectId, int newScene);
};
} // End of namespace MADS