The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
passage_path_calculator Struct Reference
Inheritance diagram for passage_path_calculator:
Inheritance graph

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
 
- Public Member Functions inherited from pathfind::cost_calculator
 cost_calculator ()
 
virtual ~cost_calculator ()
 

Private Attributes

const t_translation::t_mapmap_
 
t_translation::t_terrain wall_
 
double laziness_
 
size_t windiness_
 
boost::random::mt19937 & rng_
 

Additional Inherited Members

- Static Public Member Functions inherited from pathfind::cost_calculator
static double getNoPathValue ()
 

Detailed Description

Definition at line 265 of file cave_map_generator.cpp.

Constructor & Destructor Documentation

passage_path_calculator::passage_path_calculator ( const t_translation::t_map mapdata,
const t_translation::t_terrain wall,
double  laziness,
size_t  windiness,
boost::random::mt19937 &  rng 
)
inline

Definition at line 267 of file cave_map_generator.cpp.

Member Function Documentation

double passage_path_calculator::cost ( const map_location loc,
const double  so_far 
) const
virtual

Member Data Documentation

double passage_path_calculator::laziness_
private

Definition at line 278 of file cave_map_generator.cpp.

const t_translation::t_map& passage_path_calculator::map_
private

Definition at line 276 of file cave_map_generator.cpp.

boost::random::mt19937& passage_path_calculator::rng_
private

Definition at line 280 of file cave_map_generator.cpp.

t_translation::t_terrain passage_path_calculator::wall_
private

Definition at line 277 of file cave_map_generator.cpp.

size_t passage_path_calculator::windiness_
private

Definition at line 279 of file cave_map_generator.cpp.


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