mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-22 05:34:46 +00:00
add cover tool some more cleanup navmeshselecttool needs to use collideBox duDebugDrawTorque now has the transparent blending option
41 lines
596 B
C++
41 lines
596 B
C++
#include "coverTool.h"
|
|
|
|
IMPLEMENT_CONOBJECT(CoverTool);
|
|
|
|
CoverTool::CoverTool()
|
|
{
|
|
}
|
|
|
|
void CoverTool::onActivated(const Gui3DMouseEvent& evt)
|
|
{
|
|
Con::executef(this, "onActivated");
|
|
}
|
|
|
|
void CoverTool::onDeactivated()
|
|
{
|
|
Con::executef(this, "onDeactivated");
|
|
}
|
|
|
|
void CoverTool::on3DMouseDown(const Gui3DMouseEvent& evt)
|
|
{
|
|
if (mNavMesh.isNull())
|
|
return;
|
|
}
|
|
|
|
void CoverTool::on3DMouseMove(const Gui3DMouseEvent& evt)
|
|
{
|
|
if (mNavMesh.isNull())
|
|
return;
|
|
}
|
|
|
|
void CoverTool::onRender3D()
|
|
{
|
|
if (mNavMesh.isNull())
|
|
return;
|
|
}
|
|
|
|
bool CoverTool::updateGuiInfo()
|
|
{
|
|
return false;
|
|
}
|