Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

StratAStar3D 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 StratAStar3D:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 StratAStar3D (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 80 of file ai_common.h.


Constructor & Destructor Documentation

StratAStar3D::StratAStar3D AI _ai,
Vehicle veh,
bool  markTemps_ = true
[inline]
 

Definition at line 91 of file ai_common.h.


Member Function Documentation

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

Reimplemented from AStar3D.

Definition at line 83 of file ai_common.h.

References beeline(), AI::getMap(), AStar3D::getMoveCost(), Vehicle::getMovement(), MapCoordinate::x, Vehicle::xpos, MapCoordinate::y, and Vehicle::ypos.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:21:08 2008 for Advanced Strategic Command by  doxygen 1.4.2