1 #ifndef HEADER_MOUSECONTROL_H
2 #define HEADER_MOUSECONTROL_H
3 
4 class V2;
5 class Controls;
6 class View;
7 class InputProvider;
8 class FinderAlg;
9 
10 /**
11  * Mouse controls move.
12  */
13 class MouseControl {
14     private:
15         Controls *m_controls;
16         const View *m_view;
17         FinderAlg *m_finder;
18     private:
19         bool moveTo(const V2 &field) const;
20         bool moveHardTo(const V2 &field) const;
21     public:
22         MouseControl(Controls *controls, const View *m_view,
23                 FinderAlg *finder);
24         bool mouseDrive(const InputProvider *input) const;
25 };
26 
27 #endif
28