The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces
contexts.hpp File Reference

Default AI contexts. More...

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

Go to the source code of this file.

Classes

struct  ai::target
 
class  ai::attack_analysis
 
class  ai::default_ai_context
 
class  ai::default_ai_context_proxy
 
class  ai::default_ai_context_impl
 

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

Default AI contexts.

Definition in file contexts.hpp.