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 |
Public Member Functions inherited from pathfind::cost_calculator | |
cost_calculator () | |
virtual | ~cost_calculator () |
Additional Inherited Members | |
Static Public Member Functions inherited from pathfind::cost_calculator | |
static double | getNoPathValue () |
Function which doesn't take anything into account.
Used by move_unit_fake for the last-chance case.
Definition at line 255 of file pathfind.hpp.
Definition at line 829 of file pathfind.cpp.
|
virtual |
Implements pathfind::cost_calculator.
Definition at line 832 of file pathfind.cpp.