

Public Member Functions | |
| castle_cost_calculator (const gamemap &map) | |
| virtual double | cost (const map_location &loc, const double) const |
Private Attributes | |
| const gamemap & | map_ |
Definition at line 53 of file actions.cpp.
| castle_cost_calculator::castle_cost_calculator | ( | const gamemap & | map | ) | [inline] |
Definition at line 55 of file actions.cpp.
| virtual double castle_cost_calculator::cost | ( | const map_location & | loc, | |
| const | double | |||
| ) | const [inline, virtual] |
Implements pathfind::cost_calculator.
Definition at line 58 of file actions.cpp.
References gamemap::is_castle(), and map_.

const gamemap& castle_cost_calculator::map_ [private] |
Definition at line 67 of file actions.cpp.
Referenced by cost().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |