#include <ai_common.h>
Inheritance diagram for StratAStar:

Public Member Functions | |
| StratAStar (AI *_ai, Vehicle *veh) | |
Protected Member Functions | |
| virtual int | getMoveCost (int x1, int y1, int x2, int y2, const Vehicle *vehicle) |
| returns the movement cost for the unit to travel from x1/y1 to x2/y2 | |
Definition at line 65 of file ai_common.h.
|
||||||||||||
|
Definition at line 76 of file ai_common.h. |
|
||||||||||||||||||||||||
|
returns the movement cost for the unit to travel from x1/y1 to x2/y2
Reimplemented from AStar. Definition at line 68 of file ai_common.h. References beeline(), getfield(), AStar::getMoveCost(), Vehicle::getMovement(), Vehicle::xpos, and Vehicle::ypos. |
1.4.2