(svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost of an airport

This commit is contained in:
yexo
2009-05-07 21:30:18 +00:00
parent e92efe028c
commit 9b4a32deb4
5 changed files with 19 additions and 0 deletions

View File

@@ -53,6 +53,13 @@ public:
*/
static bool IsValidAirportType(AirportType type);
/**
* Get the cost to build this AirportType.
* @param type The AirportType to check.
* @return The cost of building this AirportType.
*/
static Money GetPrice(AirportType type);
/**
* Checks whether the given tile is actually a tile with a hangar.
* @param tile The tile to check.