Public Member Functions | |
castle_cost_calculator (const gamemap &map) | |
virtual double | cost (const gamemap::location &, const gamemap::location &loc, const double) const |
Private Attributes | |
const gamemap & | map_ |
Definition at line 49 of file actions.cpp.
castle_cost_calculator::castle_cost_calculator | ( | const gamemap & | map | ) | [inline] |
Definition at line 51 of file actions.cpp.
virtual double castle_cost_calculator::cost | ( | const gamemap::location & | , | |
const gamemap::location & | loc, | |||
const | double | |||
) | const [inline, virtual] |
Implements cost_calculator.
Definition at line 54 of file actions.cpp.
References gamemap::is_castle(), and map_.
const gamemap& castle_cost_calculator::map_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |