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

Composite AI contexts. More...

#include "ai/default/contexts.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

class  ai::ai_context
 
class  ai::rca_context
 
class  ai::candidate_action_context
 
class  ai::ai_context_proxy
 
class  ai::rca_context_proxy
 

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

Definition in file contexts.hpp.