AntiMineAStar3D Class Reference

A 3D path finding algorithm which avoids units to jam; used by the AI's strategy module. More...

#include <ai_common.h>

Inheritance diagram for AntiMineAStar3D:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AntiMineAStar3D (AI *_ai, Vehicle *veh, bool markTemps_=true)

Protected Member Functions

virtual DistanceType getMoveCost (const MapCoordinate3D &start, const MapCoordinate3D &dest, const Vehicle *vehicle, bool &canStop, bool &hasAttacked)

Detailed Description

A 3D path finding algorithm which avoids units to jam; used by the AI's strategy module.

Definition at line 94 of file ai_common.h.


Constructor & Destructor Documentation

AntiMineAStar3D::AntiMineAStar3D ( AI _ai,
Vehicle veh,
bool  markTemps_ = true 
) [inline]

Definition at line 106 of file ai_common.h.


Member Function Documentation

virtual DistanceType AntiMineAStar3D::getMoveCost ( const MapCoordinate3D start,
const MapCoordinate3D dest,
const Vehicle vehicle,
bool &  canStop,
bool &  hasAttacked 
) [inline, protected, virtual]

Reimplemented from AStar3D.

Definition at line 97 of file ai_common.h.

References GameMap::getField(), AI::getMap(), AStar3D::getMoveCost(), and MapField::mineattacks().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:16 2012 for Advanced Strategic Command by  doxygen 1.5.1