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

Default AI (Testing) More...

#include "units/map.hpp"
#include "ai/composite/rca.hpp"
Include dependency graph for ca.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::ai_default_rca::goto_phase
 
class  ai::ai_default_rca::combat_phase
 
class  ai::ai_default_rca::move_leader_to_goals_phase
 
class  ai::ai_default_rca::move_leader_to_keep_phase
 
class  ai::ai_default_rca::get_villages_phase
 
class  ai::ai_default_rca::get_healing_phase
 
class  ai::ai_default_rca::retreat_phase
 
class  ai::ai_default_rca::leader_control_phase
 
class  ai::ai_default_rca::leader_shares_keep_phase
 

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.
 
 ai::ai_default_rca
 

Detailed Description

Default AI (Testing)

Definition in file ca.hpp.