Public Member Functions | |
passage_path_calculator (const t_translation::t_map &mapdata, const t_translation::t_terrain &wall, double laziness, size_t windiness, boost::random::mt19937 &rng) | |
virtual double | cost (const map_location &loc, const double so_far) const |
![]() | |
cost_calculator () | |
virtual | ~cost_calculator () |
Private Attributes | |
const t_translation::t_map & | map_ |
t_translation::t_terrain | wall_ |
double | laziness_ |
size_t | windiness_ |
boost::random::mt19937 & | rng_ |
Additional Inherited Members | |
![]() | |
static double | getNoPathValue () |
Definition at line 265 of file cave_map_generator.cpp.
|
inline |
Definition at line 267 of file cave_map_generator.cpp.
|
virtual |
Implements pathfind::cost_calculator.
Definition at line 283 of file cave_map_generator.cpp.
References gamemap::default_border, map_, cave_map_generator::wall_, map_location::x, and map_location::y.
|
private |
Definition at line 278 of file cave_map_generator.cpp.
|
private |
Definition at line 276 of file cave_map_generator.cpp.
|
private |
Definition at line 280 of file cave_map_generator.cpp.
|
private |
Definition at line 277 of file cave_map_generator.cpp.
|
private |
Definition at line 279 of file cave_map_generator.cpp.