OpenTTD Source 20241224-master-gee860a5c8e
CYapfDestinationRailBase Class Reference
Inheritance diagram for CYapfDestinationRailBase:
CYapfDestinationAnyDepotRailT< Types > CYapfDestinationAnySafeTileRailT< Types > CYapfDestinationTileOrStationRailT< Types >

Public Member Functions

void SetDestination (const Train *v, bool override_rail_type=false)
 
bool IsCompatibleRailType (RailType rt)
 
RailTypes GetCompatibleRailTypes () const
 

Protected Attributes

RailTypes compatible_railtypes
 

Detailed Description

Definition at line 17 of file yapf_destrail.hpp.

Member Function Documentation

◆ GetCompatibleRailTypes()

RailTypes CYapfDestinationRailBase::GetCompatibleRailTypes ( ) const
inline

Definition at line 33 of file yapf_destrail.hpp.

◆ IsCompatibleRailType()

bool CYapfDestinationRailBase::IsCompatibleRailType ( RailType  rt)
inline

Definition at line 28 of file yapf_destrail.hpp.

◆ SetDestination()

void CYapfDestinationRailBase::SetDestination ( const Train v,
bool  override_rail_type = false 
)
inline

Definition at line 22 of file yapf_destrail.hpp.

Field Documentation

◆ compatible_railtypes

RailTypes CYapfDestinationRailBase::compatible_railtypes
protected

Definition at line 19 of file yapf_destrail.hpp.


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