The Battle for Wesnoth  1.19.7+dev
Classes | Namespaces
manager.hpp File Reference

Managing the AIs lifecycle - headers TODO: Refactor history handling and internal commands. More...

#include "ai/game_info.hpp"
#include "config.hpp"
#include "generic_event.hpp"
#include <deque>
#include <map>
#include <stack>
#include <string>
Include dependency graph for manager.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::holder
 Base class that holds the AI and current AI parameters. More...
 
class  ai::command_history_item
 AI Command History Item. More...
 
class  ai::manager
 Class that manages AIs for all sides and manages AI redeployment. More...
 

Namespaces

 ai
 A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.
 

Detailed Description

Managing the AIs lifecycle - headers TODO: Refactor history handling and internal commands.

TODO: AI Interface command to clear the history.

Definition in file manager.hpp.