The Battle for Wesnoth  1.13.10+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::ter_map &mapdata, const t_translation::terrain_code &wall, double laziness, size_t windiness, std::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::ter_mapmap_
 
t_translation::terrain_code wall_
 
double laziness_
 
size_t windiness_
 
std::mt19937 & rng_
 

Additional Inherited Members

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

Detailed Description

Definition at line 276 of file cave_map_generator.cpp.

Constructor & Destructor Documentation

passage_path_calculator::passage_path_calculator ( const t_translation::ter_map mapdata,
const t_translation::terrain_code wall,
double  laziness,
size_t  windiness,
std::mt19937 &  rng 
)
inline

Definition at line 278 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 289 of file cave_map_generator.cpp.

const t_translation::ter_map& passage_path_calculator::map_
private

Definition at line 287 of file cave_map_generator.cpp.

std::mt19937& passage_path_calculator::rng_
private

Definition at line 291 of file cave_map_generator.cpp.

t_translation::terrain_code passage_path_calculator::wall_
private

Definition at line 288 of file cave_map_generator.cpp.

size_t passage_path_calculator::windiness_
private

Definition at line 290 of file cave_map_generator.cpp.


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