Classes | Namespaces | Typedefs

ai/manager.hpp File Reference

Managing the AIs lifecycle - headers. More...

#include "../config.hpp"
#include "../generic_event.hpp"
#include "game_info.hpp"
#include <stack>
#include <deque>
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

namespace  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.


Typedefs

typedef boost::shared_ptr
< ai_composite > 
ai::composite_ai_ptr

Detailed Description

Managing the AIs lifecycle - headers.

Todo:
1.9 Refactor history handling and internal commands.
Todo:
1.9 AI Interface command to clear the history.

Definition in file manager.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Tue May 22 2012 01:04:28 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs