@@ -10,12 +10,13 @@
/** @file script_basestation.hpp Base for stations/waypoint handling. */
#ifndef SCRIPT_BASESTATION_HPP
#define SCRIPT_BASESTATION_HPP
#include "script_text.hpp"
#include "script_date.hpp"
/**
* Base class for stations and waypoints.
* @api ai game
*/
class ScriptBaseStation : public ScriptObject {
@@ -70,10 +71,10 @@ public:
* Get the last date a station part was added to this station.
* @param station_id The station to look at.
* @return The last date some part of this station was build.
static int32 GetConstructionDate(StationID station_id);
static ScriptDate::Date GetConstructionDate(StationID station_id);
};
#endif /* SCRIPT_BASESTATION_HPP */