aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/events.cpp')
-rw-r--r--engines/sherlock/events.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sherlock/events.cpp b/engines/sherlock/events.cpp
index f7cbdd301e..a4fc93edd9 100644
--- a/engines/sherlock/events.cpp
+++ b/engines/sherlock/events.cpp
@@ -208,7 +208,6 @@ Common::KeyState Events::getKey() {
return keyState;
}
-
/**
* Clear any current keypress or mouse click
*/
@@ -227,7 +226,6 @@ void Events::clearKeyboard() {
_pendingKeys.clear();
}
-
/**
* Delay for a given number of game frames, where each frame is 1/60th of a second
*/
@@ -236,6 +234,9 @@ void Events::wait(int numFrames) {
delay(totalMilli);
}
+/**
+ * Does a delay of the specified number of milliseconds
+ */
bool Events::delay(uint32 time, bool interruptable) {
// Different handling for really short versus extended times
if (time < 10) {