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

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

#include <ai_stationlist.hpp>

Inheritance diagram for AIStationList_Vehicle:

AIAbstractList AIObject SimpleCountedObject

Public Member Functions

 AIStationList_Vehicle (VehicleID vehicle_id)

Static Public Member Functions

static const char * GetClassName ()

Detailed Description

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

Definition at line 36 of file ai_stationlist.hpp.


Constructor & Destructor Documentation

AIStationList_Vehicle::AIStationList_Vehicle ( VehicleID  vehicle_id  ) 

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

Definition at line 26 of file ai_stationlist.cpp.

References AIAbstractList::AddItem(), and AIVehicle::IsValidVehicle().


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

Generated on Sat Dec 26 20:06:26 2009 for OpenTTD by  doxygen 1.5.6