aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/events.h')
-rw-r--r--engines/xeen/events.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/xeen/events.h b/engines/xeen/events.h
index 637d710364..4d775ac758 100644
--- a/engines/xeen/events.h
+++ b/engines/xeen/events.h
@@ -39,6 +39,8 @@ private:
uint32 _priorFrameCounterTime;
uint32 _gameCounter;
uint32 _priorGameCounterTime;
+ Common::KeyCode _keyCode;
+ bool _leftButton, _rightButton;
void nextFrame();
public:
@@ -56,6 +58,12 @@ public:
void pollEvents();
+ void pollEventsAndWait();
+
+ void clearEvents();
+
+ bool getKey(Common::KeyState &key);
+
void updateGameCounter();
uint32 timeElapsed();