Public Member Functions

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

Creates a list of the locations of the depots (and hangars) of which you are the owner. More...

#include <script_depotlist.hpp>

Inheritance diagram for ScriptDepotList:
ScriptList ScriptObject SimpleCountedObject

Public Member Functions

 ScriptDepotList (ScriptTile::TransportType transport_type)

Detailed Description

Creates a list of the locations of the depots (and hangars) of which you are the owner.

ai game

Definition at line 23 of file script_depotlist.hpp.


Constructor & Destructor Documentation

ScriptDepotList::ScriptDepotList ( ScriptTile::TransportType  transport_type  ) 
Parameters:
transport_type The type of transport to make a list of depots for.

Definition at line 17 of file script_depotlist.cpp.

References ScriptList::AddItem(), ScriptObject::GetCompany(), GetTileOwner(), IsTileType(), OWNER_DEITY, ScriptTile::TRANSPORT_AIR, ScriptTile::TRANSPORT_RAIL, ScriptTile::TRANSPORT_ROAD, and ScriptTile::TRANSPORT_WATER.


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