A helper class to observe the game state. More...
#include "../generic_event.hpp"

Go to the source code of this file.
Classes | |
| class | ai::gamestate_observer |
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. | |
A helper class to observe the game state.
Definition in file gamestate_observer.hpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:42 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |