coverTool.cpp 596 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #include "coverTool.h"
  2. IMPLEMENT_CONOBJECT(CoverTool);
  3. CoverTool::CoverTool()
  4. {
  5. }
  6. void CoverTool::onActivated(const Gui3DMouseEvent& evt)
  7. {
  8. Con::executef(this, "onActivated");
  9. }
  10. void CoverTool::onDeactivated()
  11. {
  12. Con::executef(this, "onDeactivated");
  13. }
  14. void CoverTool::on3DMouseDown(const Gui3DMouseEvent& evt)
  15. {
  16. if (mNavMesh.isNull())
  17. return;
  18. }
  19. void CoverTool::on3DMouseMove(const Gui3DMouseEvent& evt)
  20. {
  21. if (mNavMesh.isNull())
  22. return;
  23. }
  24. void CoverTool::onRender3D()
  25. {
  26. if (mNavMesh.isNull())
  27. return;
  28. }
  29. bool CoverTool::updateGuiInfo()
  30. {
  31. return false;
  32. }