Classes | Namespaces | Typedefs

ai/contexts.hpp 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 "game_info.hpp"
#include "../generic_event.hpp"
#include "../config.hpp"
Include dependency graph for contexts.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::recursion_counter
struct  ai::defensive_position
class  ai::keeps_cache
class  ai::side_context
class  ai::readonly_context
class  ai::readwrite_context
class  ai::side_context_proxy
class  ai::readonly_context_proxy
class  ai::readwrite_context_proxy
class  ai::side_context_impl
class  ai::readonly_context_impl
class  ai::readwrite_context_impl

Namespaces

namespace  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

typedef ai_context * ai::ai_context_ptr

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.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:03:22 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs