The Battle for Wesnoth  1.19.5+dev
Namespaces
contexts.cpp File Reference

Helper functions for the object which operates in the context of AI for specific side This is part of AI interface. More...

#include "ai/composite/contexts.hpp"
Include dependency graph for contexts.cpp:

Go to the source code of this file.

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

Helper functions for the object which operates in the context of AI for specific side This is part of AI interface.

Definition in file contexts.cpp.