diff options
author | Torbjörn Andersson | 2007-03-18 12:53:28 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-03-18 12:53:28 +0000 |
commit | 48cb57ec899d40653cd2a36f760235af133d0e7d (patch) | |
tree | 630a883784c9eb108aa52bdb5e3eb86cc74626ae /engines/sword2/mouse.h | |
parent | d611e81672962a4941f00c2bb6c9e22580311706 (diff) | |
download | scummvm-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.h | 5 |
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; } |