aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/events.h')
-rw-r--r--engines/titanic/events.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/events.h b/engines/titanic/events.h
index 3ea9b63217..497c867217 100644
--- a/engines/titanic/events.h
+++ b/engines/titanic/events.h
@@ -138,6 +138,16 @@ public:
* Wait for a mouse or keypress
*/
bool waitForPress(uint expiry);
+
+ /**
+ * Get the mouse position
+ */
+ Common::Point getMousePos() const { return _mousePos; }
+
+ /**
+ * Sets the mouse position
+ */
+ void setMousePos(const Common::Point &pt);
};
} // End of namespace Titanic