OpenTTD Source: CYapfDestinationRailBase Class Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Protected Attributes
CYapfDestinationRailBase Class Reference
Inheritance diagram for CYapfDestinationRailBase:

## 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:

- src/pathfinder/yapf/yapf_destrail.hpp