OpenTTD Source: CYapfRegionNodeT< Tkey_ > Struct Template Reference

OpenTTD Source 14.0-beta1

Public Types | Public Member Functions | Data Fields
CYapfRegionNodeT< Tkey_ > Struct Template Reference

Yapf Node for water regions. More...

## Public Types
typedef Tkey_ | Key
typedef CYapfRegionNodeT< Tkey_ > | Node

## Public Member Functions
void | Set (Node *parent, const WaterRegionPatchDesc &water_region_patch)
void | Set (Node *parent, const Key &key)
DiagDirection | GetDiagDirFromParent () const
Node * | GetHashNext ()
void | SetHashNext (Node *pNext)
const Tkey_ & | GetKey () const
int | GetCost ()
int | GetCostEstimate ()
bool | operator< (const Node &other) const

## Data Fields
Tkey_ | m_key
Node * | m_hash_next
Node * | m_parent
int | m_cost
int | m_estimate

## Detailed Description

### template<class Tkey_>
struct CYapfRegionNodeT< Tkey_ >

Yapf Node for water regions.

Definition at line 43 of file yapf_ship_regions.cpp.

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

- src/pathfinder/yapf/yapf_ship_regions.cpp