MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / clearPath

Method clearPath

Engine/source/T3D/aiPlayer.cpp:734–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732// --------------------------------------------------------------------------------------------
733
734void AIPlayer::clearPath()
735{
736 // Only delete if we own the path.
737 if(!mPathData.path.isNull() && mPathData.owned)
738 mPathData.path->deleteObject();
739 // Reset path data.
740 mPathData = PathData();
741}
742
743void AIPlayer::clearCover()
744{

Callers 1

aiPlayer.cppFile · 0.80

Calls 3

PathDataClass · 0.85
isNullMethod · 0.45
deleteObjectMethod · 0.45

Tested by

no test coverage detected