From 48cb57ec899d40653cd2a36f760235af133d0e7d Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 18 Mar 2007 12:53:28 +0000 Subject: Let the event manager keep track of the mouse position. svn-id: r26205 --- engines/sword2/mouse.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/sword2/mouse.h') diff --git a/engines/sword2/mouse.h b/engines/sword2/mouse.h index a5f76e8abb..a18687384b 100644 --- a/engines/sword2/mouse.h +++ b/engines/sword2/mouse.h @@ -123,8 +123,6 @@ class Mouse { private: Sword2Engine *_vm; - Common::Point _pos; - MouseUnit _mouseList[TOTAL_mouse_list]; uint32 _curMouse; @@ -197,7 +195,8 @@ public: ~Mouse(); void getPos(int &x, int &y); - void setPos(int x, int y); + int getX(); + int getY(); bool getObjectLabels() { return _objectLabels; } void setObjectLabels(bool b) { _objectLabels = b; } -- cgit v1.2.3