AIVehicleList_Depot Class Reference

Creates a list of vehicles that have orders to a given depot. More...

Inheritance diagram for AIVehicleList_Depot:

AIList

Public Member Functions

 AIVehicleList_Depot (TileIndex tile)

Detailed Description

Creates a list of vehicles that have orders to a given depot.

The list is created with a tile. If the tile is part of an airport all aircraft having a depot order on a hangar of that airport will be returned. For all other vehicle types the tile has to be a depot or an empty list will be returned.


Constructor & Destructor Documentation

AIVehicleList_Depot::AIVehicleList_Depot ( TileIndex  tile  ) 

Parameters:
tile The tile of the depot to get the list of vehicles from, which have orders to it.


Generated on Thu May 31 21:43:02 2012 for OpenTTD NoAI API by  doxygen 1.5.6