aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/parser.h')
-rw-r--r--engines/hugo/parser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/hugo/parser.h b/engines/hugo/parser.h
index 6ad2b38234..faa6dc2303 100644
--- a/engines/hugo/parser.h
+++ b/engines/hugo/parser.h
@@ -97,6 +97,7 @@ public:
virtual void lineHandler() = 0;
virtual void showInventory() const = 0;
+ virtual void takeObject(object_t *obj) = 0;
protected:
HugoEngine *_vm;
@@ -135,10 +136,10 @@ public:
virtual void lineHandler();
virtual void showInventory() const;
+ virtual void takeObject(object_t *obj);
protected:
- virtual void dropObject(object_t *obj);
- virtual void takeObject(object_t *obj);
+ virtual void dropObject(object_t *obj);
const char *findNextNoun(const char *noun) const;
bool isBackgroundWord_v1(const char *noun, const char *verb, objectList_t obj) const;