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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/titanic/events.h b/engines/titanic/events.h
index 4638056e8c..ab3d755535 100644
--- a/engines/titanic/events.h
+++ b/engines/titanic/events.h
@@ -104,12 +104,17 @@ public:
*/
bool isSpecialPressed(SpecialButtons btn) const { return _specialButtons; }
+ uint getSpecialButtons() const { return _specialButtons; }
+
/**
* Sleep for a specified period of time
*/
void sleep(uint time);
- uint getSpecialButtons() const { return _specialButtons; }
+ /**
+ * Wait for a mouse or keypress
+ */
+ bool waitForPress(uint expiry);
};
} // End of namespace Titanic