(svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID)
This commit is contained in:
@@ -95,6 +95,14 @@ public:
|
||||
*/
|
||||
static int32 GetCoverageRadius(ScriptStation::StationType station_type);
|
||||
|
||||
/**
|
||||
* Get the coverage radius of this station.
|
||||
* @param station_id The station to get the coverage radius of.
|
||||
* @pre IsValidStation(station_id).
|
||||
* @return The radius in tiles.
|
||||
*/
|
||||
static int32 GetStationCoverageRadius(StationID station_id);
|
||||
|
||||
/**
|
||||
* Get the manhattan distance from the tile to the ScriptStation::GetLocation()
|
||||
* of the station.
|
||||
|
Reference in New Issue
Block a user