#include <station_type.h>

Public Member Functions | |
| StationFinder (const TileArea &area) | |
| Constructs StationFinder. | |
| const StationList * | GetStations () |
| Run a tile loop to find stations around a tile, on demand. | |
Private Attributes | |
| StationList | stations |
| List of stations nearby. | |
The list is created upon first call to GetStations()
Definition at line 102 of file station_type.h.
| StationFinder::StationFinder | ( | const TileArea & | area | ) | [inline] |
Constructs StationFinder.
| area | the area to search from |
Definition at line 109 of file station_type.h.
| const StationList * StationFinder::GetStations | ( | ) |
Run a tile loop to find stations around a tile, on demand.
Cache the result for further requests
Definition at line 3048 of file station_cmd.cpp.
References FindStationsAroundTiles(), INVALID_TILE, and stations.
Referenced by TileLoop_Town().
1.5.6