aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_gfx_element.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_gfx_element.h')
-rw-r--r--engines/titanic/pet_control/pet_gfx_element.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_gfx_element.h b/engines/titanic/pet_control/pet_gfx_element.h
index 91d9b9ccb2..3d2a06db97 100644
--- a/engines/titanic/pet_control/pet_gfx_element.h
+++ b/engines/titanic/pet_control/pet_gfx_element.h
@@ -67,6 +67,12 @@ public:
* Get the game object associated with this item
*/
virtual CGameObject *getObject() const;
+
+ /**
+ * Gets the explicit bounds set for the graphic element,
+ * ignoring any associated sub-object bounds
+ */
+ const Rect &getRawBounds() const { return _bounds; }
};
} // End of namespace Titanic