Function which doesn't take anything into account. More...
#include <pathfind.hpp>


Public Member Functions | |
| dummy_path_calculator (const unit &u, const gamemap &map) | |
| virtual double | cost (const map_location &loc, const double so_far) const |
Function which doesn't take anything into account.
Used by move_unit_fake for the last-chance case.
Definition at line 261 of file pathfind.hpp.
Definition at line 707 of file pathfind.cpp.
| double pathfind::dummy_path_calculator::cost | ( | const map_location & | loc, | |
| const double | so_far | |||
| ) | const [virtual] |
Implements pathfind::cost_calculator.
Definition at line 710 of file pathfind.cpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:42 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |