aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/game_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/core/game_object.h')
-rw-r--r--engines/titanic/core/game_object.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h
index d08ef4cf76..1c3cbf386c 100644
--- a/engines/titanic/core/game_object.h
+++ b/engines/titanic/core/game_object.h
@@ -609,6 +609,13 @@ public:
bool checkPoint(const Point &pt, bool ignoreSurface = false, bool visibleOnly = false);
/**
+ * Returns a point that falls within the object
+ * @param pt Return point
+ * @returns True if a point was found
+ */
+ bool findPoint(Point &pt);
+
+ /**
* Set the position of the object
*/
void setPosition(const Point &newPos);