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 () |
Creates a list of tiles which have the requested StationType of the StationID.
Definition at line 100 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 110 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_LOOP, and TileXY().