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

Public Member Functions | |
| HiddenAStar (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 111 of file ai_common.h.
Definition at line 133 of file ai_common.h.
| virtual int HiddenAStar::getMoveCost | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| const Vehicle * | vehicle | |||
| ) | [inline, protected, virtual] |
returns the movement cost for the unit to travel from x1/y1 to x2/y2
Reimplemented from AStar.
Definition at line 114 of file ai_common.h.
References Player::diplomacy, GameMap::getField(), AI::getMap(), AStar::getMoveCost(), AI::getPlayerNum(), DiplomaticStateVector::isHostile(), GameMap::player, MapField::visible, and visible_now.
1.5.1