Creates a list of vehicles that have orders to a given depot. More...
Public Member Functions | |
AIVehicleList_Depot (TileIndex tile) |
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.
AIVehicleList_Depot::AIVehicleList_Depot | ( | TileIndex | tile | ) |
tile | The tile of the depot to get the list of vehicles from, which have orders to it. |