(svn r17014) -Add [NoAI]: AIEngine::GetDesignDate

This commit is contained in:
yexo
2009-07-31 23:22:49 +00:00
parent f9de918274
commit ef4ecc4cc3
3 changed files with 16 additions and 0 deletions

View File

@@ -152,6 +152,14 @@ public:
*/
static int32 GetMaxTractiveEffort(EngineID engine_id);
/**
* Get the date this engine was designed.
* @param engine_id The engine to get the design date of.
* @pre IsValidEngine(engine_id).
* @return The date this engine was designed.
*/
static int32 GetDesignDate(EngineID engine_id);
/**
* Get the type of an engine.
* @param engine_id The engine to get the type of.