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 59d145bada..a44f08375b 100644
--- a/engines/sherlock/events.h
+++ b/engines/sherlock/events.h
@@ -45,6 +45,7 @@ private:
ImageFile *_cursorImages;
int _mouseButtons;
Common::Point _mousePos;
+ int _waitCounter;
/**
* Check whether it's time to display the next screen frame
@@ -188,6 +189,16 @@ public:
* Checks to see to see if a key or a mouse button is pressed.
*/
bool checkInput();
+
+ /**
+ * Increment the wait counter
+ */
+ void incWaitCounter();
+
+ /**
+ * Decrement the wait counter
+ */
+ void decWaitCounter();
};
} // End of namespace Sherlock