Namespaces

ai/interface.cpp File Reference

Base class for the AI and AI-ai_manager contract. More...

#include "interface.hpp"
Include dependency graph for interface.cpp:

Go to the source code of this file.

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.



Detailed Description

Base class for the AI and AI-ai_manager contract.

Definition in file interface.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Tue May 22 2012 01:04:44 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs