Creates a list of vehicles that have orders to a given station. More...
#include <ai_vehiclelist.hpp>
Public Member Functions | |
AIVehicleList_Station (StationID station_id) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Creates a list of vehicles that have orders to a given station.
Definition at line 32 of file ai_vehiclelist.hpp.
AIVehicleList_Station::AIVehicleList_Station | ( | StationID | station_id | ) |
station_id | The station to get the list of vehicles from, which have orders to it. |
Definition at line 28 of file ai_vehiclelist.cpp.
References AIAbstractList::AddItem(), Order::GetDestination(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::index, Vehicle::IsPrimaryVehicle(), Order::IsType(), and AIBaseStation::IsValidBaseStation().