aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/eventman.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-06-15 10:41:33 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitad8fbaa118e26cb57d3d77ddb7a597c2b37a9f76 (patch)
treea93b53da2c994d2e2c9f7391c0b061fc9461322e /engines/dm/eventman.h
parent3ca7622a6ca4563f7c906013d59f9213a55f4c1b (diff)
downloadscummvm-rg350-ad8fbaa118e26cb57d3d77ddb7a597c2b37a9f76.tar.gz
scummvm-rg350-ad8fbaa118e26cb57d3d77ddb7a597c2b37a9f76.tar.bz2
scummvm-rg350-ad8fbaa118e26cb57d3d77ddb7a597c2b37a9f76.zip
DM: Add event manager
Diffstat (limited to 'engines/dm/eventman.h')
-rw-r--r--engines/dm/eventman.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/engines/dm/eventman.h b/engines/dm/eventman.h
new file mode 100644
index 0000000000..eabff49a2b
--- /dev/null
+++ b/engines/dm/eventman.h
@@ -0,0 +1,28 @@
+
+
+#ifndef DM_EVENTMAN_H
+#define DM_EVENTMAN_H
+
+#include "common/events.h"
+
+namespace DM {
+
+class DMEngine;
+
+class EventManager {
+ DMEngine *_vm;
+
+ Common::Point _mousePos;
+ uint16 _dummyMapIndex;
+public:
+ EventManager(DMEngine *vm);
+ void initMouse();
+
+ void setMousePos(Common::Point pos);
+ void processInput();
+};
+
+};
+
+
+#endif DM_EVENTMAN_H