The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces
goal.hpp File Reference
#include "ai/composite/component.hpp"
#include "global.hpp"
#include "ai/default/contexts.hpp"
#include "ai/game_info.hpp"
#include "config.hpp"
#include <boost/shared_ptr.hpp>
#include <iterator>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for goal.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::goal
 
class  ai::target_unit_goal
 
class  ai::target_location_goal
 
class  ai::protect_goal
 
class  ai::protect_location_goal
 
class  ai::protect_unit_goal
 
class  ai::lua_goal
 
class  ai::goal_factory
 
class  ai::register_goal_factory< GOAL >
 

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.