coverTool.h 640 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _COVERTOOL_H_
  2. #define _COVERTOOL_H_
  3. #ifndef _NAVMESH_TOOL_H_
  4. #include "navigation/navMeshTool.h"
  5. #endif
  6. #ifndef _NAVPATH_H_
  7. #include "navigation/navPath.h"
  8. #endif
  9. class CoverTool : public NavMeshTool
  10. {
  11. typedef NavMeshTool Parent;
  12. public:
  13. DECLARE_CONOBJECT(CoverTool);
  14. CoverTool();
  15. virtual ~CoverTool() {}
  16. void onActivated(const Gui3DMouseEvent& evt) override;
  17. void onDeactivated() override;
  18. void on3DMouseDown(const Gui3DMouseEvent& evt) override;
  19. void on3DMouseMove(const Gui3DMouseEvent& evt) override;
  20. void onRender3D() override;
  21. bool updateGuiInfo() override;
  22. };
  23. #endif // !_COVERTOOL_H_