aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/inventory.h
diff options
context:
space:
mode:
authorStrangerke2014-03-18 18:49:36 +0100
committerStrangerke2014-03-18 18:49:36 +0100
commit306ea295eef03b23882fc4bfa5343b72cb8c4067 (patch)
treef57273401df03f6c08187e8a83c8d327d04151eb /engines/mads/inventory.h
parent26c90afdef0d5ecf11935f2b02add292df562de5 (diff)
downloadscummvm-rg350-306ea295eef03b23882fc4bfa5343b72cb8c4067.tar.gz
scummvm-rg350-306ea295eef03b23882fc4bfa5343b72cb8c4067.tar.bz2
scummvm-rg350-306ea295eef03b23882fc4bfa5343b72cb8c4067.zip
MADS: Add isInInventory()
Diffstat (limited to 'engines/mads/inventory.h')
-rw-r--r--engines/mads/inventory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mads/inventory.h b/engines/mads/inventory.h
index 1eef0f7f82..1ff38abb60 100644
--- a/engines/mads/inventory.h
+++ b/engines/mads/inventory.h
@@ -87,6 +87,11 @@ public:
* Returns true if a given object is in the player's current scene
*/
bool isInRoom(int objectId) const;
+
+ /**
+ * Returns true if a given object is in the player's inventory
+ */
+ bool isInInventory(int objectId) const;
};
} // End of namespace MADS