src/ai/api/ai_controller.hpp
branchnoai
changeset 9782 e8d8d8894f23
parent 9607 9ad01142ea6b
child 9829 80fbe02a4184
equal deleted inserted replaced
9781:d583b3eb60e0 9782:e8d8d8894f23
    67 	 *   differ per AI speed.
    67 	 *   differ per AI speed.
    68 	 * @param ticks the ticks to wait
    68 	 * @param ticks the ticks to wait
    69 	 * @post the value of GetTick() will be changed exactly 'ticks' in value after
    69 	 * @post the value of GetTick() will be changed exactly 'ticks' in value after
    70 	 *   calling this.
    70 	 *   calling this.
    71 	 */
    71 	 */
    72 	void Sleep(uint ticks);
    72 	static void Sleep(uint ticks);
       
    73 
       
    74 	/**
       
    75 	 * Print a message to the AI log.
       
    76 	 * @param error_msg If true, it is marked as error message.
       
    77 	 * @param message The message you want to log.
       
    78 	 */
       
    79 	static void Print(bool error_msg, const char *message);
    73 };
    80 };
    74 
    81 
    75 #endif /* AI_CONTROLLER_HPP */
    82 #endif /* AI_CONTROLLER_HPP */