mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 12:30:31 +00:00
add cover tool some more cleanup navmeshselecttool needs to use collideBox duDebugDrawTorque now has the transparent blending option
33 lines
640 B
C++
33 lines
640 B
C++
#ifndef _COVERTOOL_H_
|
|
#define _COVERTOOL_H_
|
|
|
|
#ifndef _NAVMESH_TOOL_H_
|
|
#include "navigation/navMeshTool.h"
|
|
#endif
|
|
|
|
#ifndef _NAVPATH_H_
|
|
#include "navigation/navPath.h"
|
|
#endif
|
|
|
|
class CoverTool : public NavMeshTool
|
|
{
|
|
typedef NavMeshTool Parent;
|
|
public:
|
|
DECLARE_CONOBJECT(CoverTool);
|
|
|
|
CoverTool();
|
|
|
|
virtual ~CoverTool() {}
|
|
|
|
void onActivated(const Gui3DMouseEvent& evt) override;
|
|
void onDeactivated() override;
|
|
|
|
void on3DMouseDown(const Gui3DMouseEvent& evt) override;
|
|
void on3DMouseMove(const Gui3DMouseEvent& evt) override;
|
|
void onRender3D() override;
|
|
|
|
bool updateGuiInfo() override;
|
|
};
|
|
|
|
#endif // !_COVERTOOL_H_
|
|
|