Add: [Script] ScriptTileList_StationCoverage (#12015)

This commit is contained in:
Loïc Guilloux
2024-02-06 20:22:18 +01:00
committed by GitHub
parent 0858377e9e
commit b0f3417025
6 changed files with 192 additions and 4 deletions

View File

@@ -104,4 +104,17 @@ public:
ScriptTileList_StationType(StationID station_id, ScriptStation::StationType station_type);
};
/**
* Creates a list of tiles in the catchment area of the StationID.
* @api ai game
* @ingroup ScriptList
*/
class ScriptTileList_StationCoverage : public ScriptTileList {
public:
/**
* @param station_id The station to create the ScriptTileList for.
*/
ScriptTileList_StationCoverage(StationID station_id);
};
#endif /* SCRIPT_TILELIST_HPP */