src/ai/api/ai_engine.hpp
branchnoai
changeset 10187 d5a6eba5af45
parent 9842 ef007135fa47
child 10194 c9fdeb7450da
equal deleted inserted replaced
10181:54df587fef5d 10187:d5a6eba5af45
    69 	 * @return The reliability the engine has.
    69 	 * @return The reliability the engine has.
    70 	 */
    70 	 */
    71 	static uint32 GetReliability(EngineID engine_id);
    71 	static uint32 GetReliability(EngineID engine_id);
    72 
    72 
    73 	/**
    73 	/**
    74 	 * Get the maximum speed of an engine (in km/h).
    74 	 * Get the maximum speed of an engine.
    75 	 * @param engine_id The engine to get the maximum speed of.
    75 	 * @param engine_id The engine to get the maximum speed of.
    76 	 * @pre IsValidEngine(engine_id).
    76 	 * @pre IsValidEngine(engine_id).
    77 	 * @return The maximum speed the engine has.
    77 	 * @return The maximum speed the engine has.
       
    78 	 * @note The speed is in km/h.
    78 	 */
    79 	 */
    79 	static uint32 GetMaxSpeed(EngineID engine_id);
    80 	static uint32 GetMaxSpeed(EngineID engine_id);
    80 
    81 
    81 	/**
    82 	/**
    82 	 * Get the new cost of an engine.
    83 	 * Get the new cost of an engine.