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 () |
Get the name of this class to identify it towards squirrel. |
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 18 of file ai_depotlist.cpp.
References _current_company, AIList::AddItem(), Station::airport, Airport::GetHangarTile(), Airport::GetNumHangars(), GetTileOwner(), IsTileType(), BaseStation::owner, AITile::TRANSPORT_AIR, AITile::TRANSPORT_RAIL, AITile::TRANSPORT_ROAD, and AITile::TRANSPORT_WATER.
static const char* AIDepotList::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIList.
Definition at line 25 of file ai_depotlist.hpp.