Creates a list of tiles which have the requested StationType of the StationID. More...
#include <ai_tilelist.hpp>
Public Member Functions | |
AITileList_StationType (StationID station_id, AIStation::StationType station_type) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Get the name of this class to identify it towards squirrel. |
Creates a list of tiles which have the requested StationType of the StationID.
Definition at line 103 of file ai_tilelist.hpp.
AITileList_StationType::AITileList_StationType | ( | StationID | station_id, | |
AIStation::StationType | station_type | |||
) |
station_id | The station to create the AITileList for. | |
station_type | The StationType to create the AIList for. |
Definition at line 112 of file ai_tilelist.cpp.
References AITileList::AddTile(), SpecializedStation< Station, false >::Get(), GetStationIndex(), GetStationType(), HasBit(), IsTileType(), AIStation::IsValidStation(), MP_STATION, AIStation::STATION_AIRPORT, AIStation::STATION_BUS_STOP, AIStation::STATION_DOCK, AIStation::STATION_TRAIN, AIStation::STATION_TRUCK_STOP, TILE_AREA_LOOP, and TileXY().
static const char* AITileList_StationType::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AITileList.
Definition at line 106 of file ai_tilelist.hpp.