aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_inventory_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-24 22:39:01 -0400
committerPaul Gilbert2016-07-15 19:24:46 -0400
commit6f5f59af17290930ea75261c604471057e3b45e3 (patch)
treef7aa9d83f0b606e2d714a55ad77bb3b5bf488ebd /engines/titanic/pet_control/pet_inventory_glyphs.h
parentc2f6110d0218802b811c1172f114b5d8ed8bf37c (diff)
downloadscummvm-rg350-6f5f59af17290930ea75261c604471057e3b45e3.tar.gz
scummvm-rg350-6f5f59af17290930ea75261c604471057e3b45e3.tar.bz2
scummvm-rg350-6f5f59af17290930ea75261c604471057e3b45e3.zip
TITANIC: Added various PET methods
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_inventory_glyphs.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_inventory_glyphs.h b/engines/titanic/pet_control/pet_inventory_glyphs.h
index 91b1e5ee50..17222a9076 100644
--- a/engines/titanic/pet_control/pet_inventory_glyphs.h
+++ b/engines/titanic/pet_control/pet_inventory_glyphs.h
@@ -54,6 +54,11 @@ public:
void setItem(CGameObject *item, int val);
/**
+ * Returns the object associated with the glyph
+ */
+ virtual CGameObject *getObjectAt() { return _item; }
+
+ /**
* Does a processing action on the glyph
*/
virtual bool doAction(CGlyphAction *action);
@@ -73,9 +78,9 @@ private:
CGameObject *getBackground(int index);
public:
/**
- *
+ * Do an action on the glyphs
*/
- bool change(CInventoryGlyphAction *item);
+ bool doAction(CInventoryGlyphAction *item);
};
} // End of namespace Titanic