simulation
Class CPathfindEngine
Singleton
|
+--CPathfindEngine
in PathfindEngine.h
in PathfindEngine.cpp
- class CPathfindEngine
- extends Singleton
Method Summary |
bool |
RequestAvoidPath( HEntity entity, CEntityOrder* current, float avoidRange )
|
void |
RequestContactPath( HEntity entity, CEntityOrder* current, float range )
|
void |
RequestLowLevelPath( HEntity entity, const CVector2D& destination, bool UNUSED( contact ), float radius, CEntityOrder::EOrderSource orderSource )
|
void |
RequestPath( HEntity entity, const CVector2D& destination, CEntityOrder::EOrderSource orderSource )
|
mLowPathfinder
private CAStarEngineLowLevel mLowPathfinder;
CPathfindEngine
public CPathfindEngine();
RequestAvoidPath
public bool RequestAvoidPath( HEntity entity, CEntityOrder* current, float avoidRange );
RequestContactPath
public void RequestContactPath( HEntity entity, CEntityOrder* current, float range );
RequestLowLevelPath
public void RequestLowLevelPath( HEntity entity, const CVector2D& destination, bool UNUSED( contact ), float radius, CEntityOrder::EOrderSource orderSource );
RequestPath
public void RequestPath( HEntity entity, const CVector2D& destination, CEntityOrder::EOrderSource orderSource );