src/ai/api/ai_company.hpp
branchnoai
changeset 9529 5f26f4bc574b
parent 9526 a4ad60ba03be
child 9530 5b93bc87cc5e
equal deleted inserted replaced
9528:b2cc6f31363c 9529:5f26f4bc574b
    10 /**
    10 /**
    11  * Class that handles all company related functions.
    11  * Class that handles all company related functions.
    12  */
    12  */
    13 class AICompany : public AIObject {
    13 class AICompany : public AIObject {
    14 public:
    14 public:
       
    15 	/**
       
    16 	 * The name of the class, needed by several sub-processes.
       
    17 	 */
       
    18 	static const char *GetClassName() { return "AICompany"; }
       
    19 
    15 	/**
    20 	/**
    16 	 * Set the name of your company.
    21 	 * Set the name of your company.
    17 	 * @param name the new name of the company.
    22 	 * @param name the new name of the company.
    18 	 * @pre name != NULL
    23 	 * @pre name != NULL
    19 	 * @return true if the command was send without problem.
    24 	 * @return true if the command was send without problem.