diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_inventory_glyphs.h | 9 |
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 |