Game information for the AI. More...
Go to the source code of this file.
Classes | |
singleton | ai::typesafe_aspect< T > |
struct | ai::aspect_type< T > |
singleton | ai::typesafe_known_aspect< T > |
struct | ai::known_aspect_type< T > |
class | ai::game_info |
Namespaces | |
pathfind | |
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 int | ai::side_number |
typedef std::multimap < map_location, map_location > | ai::move_map |
The standard way in which a map of possible moves is recorded. More... | |
typedef std::map< map_location, pathfind::paths > | ai::moves_map |
The standard way in which a map of possible movement routes to location is recorded. More... | |
typedef boost::shared_ptr < ai_composite > | ai::ai_ptr |
typedef std::vector < attack_analysis > | ai::attacks_vector |
typedef boost::shared_ptr < action_result > | ai::action_result_ptr |
typedef boost::shared_ptr < attack_result > | ai::attack_result_ptr |
typedef boost::shared_ptr < recall_result > | ai::recall_result_ptr |
typedef boost::shared_ptr < recruit_result > | ai::recruit_result_ptr |
typedef boost::shared_ptr < move_result > | ai::move_result_ptr |
typedef boost::shared_ptr < move_and_attack_result > | ai::move_and_attack_result_ptr |
typedef boost::shared_ptr < stopunit_result > | ai::stopunit_result_ptr |
typedef boost::shared_ptr < synced_command_result > | ai::synced_command_result_ptr |
typedef boost::shared_ptr< aspect > | ai::aspect_ptr |
typedef boost::shared_ptr< engine > | ai::engine_ptr |
typedef boost::shared_ptr< goal > | ai::goal_ptr |
typedef boost::shared_ptr < known_aspect > | ai::known_aspect_ptr |
typedef boost::shared_ptr< stage > | ai::stage_ptr |
typedef std::map< std::string, aspect_ptr > | ai::aspect_map |
typedef std::map< std::string, known_aspect_ptr > | ai::known_aspect_map |
Game information for the AI.
Definition in file game_info.hpp.