Public Member Functions

ScriptStationList_Vehicle Class Reference
[Classes that create a list of items.]

Creates a list of stations which the vehicle has in its orders. More...

#include <script_stationlist.hpp>

Inheritance diagram for ScriptStationList_Vehicle:
ScriptList ScriptObject SimpleCountedObject

Public Member Functions

 ScriptStationList_Vehicle (VehicleID vehicle_id)

Detailed Description

Creates a list of stations which the vehicle has in its orders.

ai

Definition at line 36 of file script_stationlist.hpp.


Constructor & Destructor Documentation

ScriptStationList_Vehicle::ScriptStationList_Vehicle ( VehicleID  vehicle_id  ) 
Parameters:
vehicle_id The vehicle to get the list of stations he has in its orders from.

Definition at line 27 of file script_stationlist.cpp.

References ScriptList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_vehicle_pool >::Get(), Vehicle::GetFirstOrder(), ScriptVehicle::IsValidVehicle(), and Order::next.


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