aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/mouse.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2007-03-18 12:53:28 +0000
committerTorbjörn Andersson2007-03-18 12:53:28 +0000
commit48cb57ec899d40653cd2a36f760235af133d0e7d (patch)
tree630a883784c9eb108aa52bdb5e3eb86cc74626ae /engines/sword2/mouse.h
parentd611e81672962a4941f00c2bb6c9e22580311706 (diff)
downloadscummvm-rg350-48cb57ec899d40653cd2a36f760235af133d0e7d.tar.gz
scummvm-rg350-48cb57ec899d40653cd2a36f760235af133d0e7d.tar.bz2
scummvm-rg350-48cb57ec899d40653cd2a36f760235af133d0e7d.zip
Let the event manager keep track of the mouse position.
svn-id: r26205
Diffstat (limited to 'engines/sword2/mouse.h')
-rw-r--r--engines/sword2/mouse.h5
1 files changed, 2 insertions, 3 deletions
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; }