Creates a list of the locations of the depots (and hangars) of which you are the owner. More...
#include <ai_depotlist.hpp>
Public Member Functions | |
AIDepotList (AITile::TransportType transport_type) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Creates a list of the locations of the depots (and hangars) of which you are the owner.
Definition at line 22 of file ai_depotlist.hpp.
AIDepotList::AIDepotList | ( | AITile::TransportType | transport_type | ) |
transport_type | The type of transport to make a list of depots for. |
Definition at line 17 of file ai_depotlist.cpp.
References AIAbstractList::AddItem(), GetTileOwner(), IsTileType(), MP_RAILWAY, MP_ROAD, MP_WATER, AirportSpec::nof_depots, BaseStation::owner, AITile::TRANSPORT_AIR, AITile::TRANSPORT_RAIL, AITile::TRANSPORT_ROAD, and AITile::TRANSPORT_WATER.