From ad8fbaa118e26cb57d3d77ddb7a597c2b37a9f76 Mon Sep 17 00:00:00 2001 From: Bendegúz Nagy Date: Wed, 15 Jun 2016 10:41:33 +0200 Subject: DM: Add event manager --- engines/dm/eventman.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 engines/dm/eventman.h (limited to 'engines/dm/eventman.h') 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 -- cgit v1.2.3