The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Typedefs
ai_target.hpp File Reference
#include "enum_base.hpp"
Include dependency graph for ai_target.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ai::ai_target_defines
 

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.
 

Typedefs

using ai::ai_target = string_enums::enum_base< ai_target_defines >