passage_path_calculator Struct Reference

Inheritance diagram for passage_path_calculator:

Inheritance graph
[legend]
Collaboration diagram for passage_path_calculator:

Collaboration graph
[legend]

List of all members.

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_mapmap_
t_translation::t_terrain wall_
double laziness_
size_t windiness_


Detailed Description

Definition at line 289 of file cavegen.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 298 of file cavegen.cpp.

Referenced by cost().

Definition at line 299 of file cavegen.cpp.

Referenced by cost().

Definition at line 300 of file cavegen.cpp.

Referenced by cost().

Definition at line 301 of file cavegen.cpp.

Referenced by cost().


The documentation for this struct was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs