src/ai/api/ai_settings.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 AI settings related functions.
    11  * Class that handles all AI settings related functions.
    12  */
    12  */
    13 class AISettings : public AIObject {
    13 class AISettings : 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 "AISettings"; }
       
    19 
    15 	/**
    20 	/**
    16 	 * Change the minimum amount of time the AI should be put in suspend mode
    21 	 * Change the minimum amount of time the AI should be put in suspend mode
    17 	 *   when you execute a command. Normally in SP this is 1, and in MP it is
    22 	 *   when you execute a command. Normally in SP this is 1, and in MP it is
    18 	 *   what ever delay the server has been programmed to delay commands
    23 	 *   what ever delay the server has been programmed to delay commands
    19 	 *   (normally between 1 and 5). To give a more 'real' effect to your AI,
    24 	 *   (normally between 1 and 5). To give a more 'real' effect to your AI,