The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces
aspect_attacks.hpp File Reference

Aspect: attacks. More...

#include "ai/composite/aspect.hpp"
#include "units/filter.hpp"
Include dependency graph for aspect_attacks.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ai::ai_default_rca::aspect_attacks_base
class  ai::ai_default_rca::aspect_attacks
struct  ai::aspect_attacks_lua_filter
class  ai::aspect_attacks_lua


 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

Aspect: attacks.

Definition in file aspect_attacks.hpp.