aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/events.h')
-rw-r--r--engines/sherlock/events.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sherlock/events.h b/engines/sherlock/events.h
index b0dda37607..052698a609 100644
--- a/engines/sherlock/events.h
+++ b/engines/sherlock/events.h
@@ -129,8 +129,19 @@ public:
*/
Common::Point mousePos() const;
+ /**
+ * Get the current mouse position within the scene, adjusted by the scroll position
+ */
+ Common::Point sceneMousePos() const;
+
+ /**
+ * Return the current game frame number
+ */
uint32 getFrameCounter() const { return _frameCounter; }
+ /**
+ * Returns true if there's a pending keyboard key
+ */
bool kbHit() const { return !_pendingKeys.empty(); }
/**