Public Member Functions | |
passage_path_calculator (const t_translation::t_map &mapdata, t_translation::t_terrain wall, double laziness, size_t windiness) | |
virtual double | cost (const gamemap::location &src, const gamemap::location &loc, const double so_far) const |
Private Attributes | |
const t_translation::t_map & | map_ |
t_translation::t_terrain | wall_ |
double | laziness_ |
size_t | windiness_ |
Definition at line 289 of file cavegen.cpp.
passage_path_calculator::passage_path_calculator | ( | const t_translation::t_map & | mapdata, | |
t_translation::t_terrain | wall, | |||
double | laziness, | |||
size_t | windiness | |||
) | [inline] |
Definition at line 291 of file cavegen.cpp.
double passage_path_calculator::cost | ( | const gamemap::location & | src, | |
const gamemap::location & | loc, | |||
const double | so_far | |||
) | const [virtual] |
Implements cost_calculator.
Definition at line 304 of file cavegen.cpp.
References laziness_, map_, wall_, windiness_, gamemap::location::x, and gamemap::location::y.
const t_translation::t_map& passage_path_calculator::map_ [private] |
double passage_path_calculator::laziness_ [private] |
size_t passage_path_calculator::windiness_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |