Helper functions for the object which operates in the context of AI for specific side this is part of AI interface. More...
#include "ai/game_info.hpp"#include "config.hpp"#include "game_errors.hpp"#include "generic_event.hpp"#include "units/ptr.hpp"#include "map/location.hpp"#include <map>#include <set>#include <string>#include <utility>#include <vector>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 | |
| 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 |
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.