]> Shamusworld >> Repos - architektonas/blob - src/actions/actionselectsingle.h
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionselectsingle.h
1 #ifndef __ACTIONSELECTSINGLE_H__
2 #define __ACTIONSELECTSINGLE_H__
3
4 #include "actioninterface.h"
5
6 class Entity;
7
8 /**
9  * This action class can handle user events to select entities.
10  *
11  * @author James Hammons
12  * @author Andrew Mustun
13  */
14 class ActionSelectSingle: public ActionInterface
15 {
16         public:
17                 ActionSelectSingle(EntityContainer & container, GraphicView & graphicView);
18                 ~ActionSelectSingle();
19
20                 virtual RS2::ActionType rtti();
21                 virtual void trigger();
22                 virtual void keyPressEvent(QKeyEvent * e);
23                 virtual void mouseReleaseEvent(QMouseEvent * e);
24                 virtual void updateMouseCursor();
25
26         private:
27                 Entity * en;
28 };
29
30 #endif  // __ACTIONSELECTSINGLE_H__