The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | List of all members
pathfind::cost_calculator Struct Referenceabstract

#include <pathfind.hpp>

Inheritance diagram for pathfind::cost_calculator:
Inheritance graph

Public Member Functions

 cost_calculator ()
 
virtual double cost (const map_location &loc, const double so_far) const =0
 
virtual ~cost_calculator ()
 

Static Public Member Functions

static double getNoPathValue ()
 

Detailed Description

Definition at line 56 of file pathfind.hpp.

Constructor & Destructor Documentation

pathfind::cost_calculator::cost_calculator ( )
inline

Definition at line 58 of file pathfind.hpp.

virtual pathfind::cost_calculator::~cost_calculator ( )
inlinevirtual

Definition at line 61 of file pathfind.hpp.

Member Function Documentation

virtual double pathfind::cost_calculator::cost ( const map_location loc,
const double  so_far 
) const
pure virtual
static double pathfind::cost_calculator::getNoPathValue ( )
inlinestatic

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