src/ai/api/ai_sign.hpp
branchnoai
changeset 10952 d16212cc2394
parent 10855 90904faa1890
equal deleted inserted replaced
10946:7ccfbff5698d 10952:d16212cc2394
    57 	 * @return The location of the sign.
    57 	 * @return The location of the sign.
    58 	 */
    58 	 */
    59 	static TileIndex GetLocation(SignID sign_id);
    59 	static TileIndex GetLocation(SignID sign_id);
    60 
    60 
    61 	/**
    61 	/**
    62 	 * Get the owner of a sign.
       
    63 	 * @param sign_id The sign to get the owner of.
       
    64 	 * @pre IsValidSign(sign_id).
       
    65 	 * @return The owner of the sign.
       
    66 	 */
       
    67 	static AICompany::CompanyID GetOwner(SignID sign_id);
       
    68 
       
    69 	/**
       
    70 	 * Builds a sign on the map.
    62 	 * Builds a sign on the map.
    71 	 * @param location The place to build the sign.
    63 	 * @param location The place to build the sign.
    72 	 * @param text The text to place on the sign.
    64 	 * @param text The text to place on the sign.
    73 	 * @pre AIMap::IsValidTile(location).
    65 	 * @pre AIMap::IsValidTile(location).
    74 	 * @pre text is of non-zero length.
    66 	 * @pre text is of non-zero length.