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

Composite AI with turn sequence which is a vector of stages. More...

#include "ai/composite/contexts.hpp"
#include "ai/composite/component.hpp"
Include dependency graph for ai.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::ai_composite
 

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

Composite AI with turn sequence which is a vector of stages.

Definition in file ai.hpp.