Managing the AI-Game interaction - AI actions and their results. More...
Go to the source code of this file.
Classes | |
| class | ai::action_result |
| class | ai::attack_result |
| class | ai::move_result |
| class | ai::recall_result |
| class | ai::recruit_result |
| class | ai::stopunit_result |
| class | ai::synced_command_result |
| class | ai::actions |
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. | |
Functions | |
| std::ostream & | operator<< (std::ostream &s, const ai::attack_result &r) |
| std::ostream & | operator<< (std::ostream &s, const ai::move_result &r) |
| std::ostream & | operator<< (std::ostream &s, const ai::recall_result &r) |
| std::ostream & | operator<< (std::ostream &s, const ai::recruit_result &r) |
| std::ostream & | operator<< (std::ostream &s, const ai::stopunit_result &r) |
| std::ostream & | operator<< (std::ostream &s, const ai::synced_command_result &r) |
Managing the AI-Game interaction - AI actions and their results.
Definition in file actions.hpp.
| std::ostream& operator<< | ( | std::ostream & | s, |
| const ai::attack_result & | r | ||
| ) |
Definition at line 1118 of file actions.cpp.
References ai::attack_result::do_describe(), and s.
Referenced by std::operator<<().
| std::ostream& operator<< | ( | std::ostream & | s, |
| const ai::move_result & | r | ||
| ) |
Definition at line 1123 of file actions.cpp.
References ai::move_result::do_describe(), and s.
| std::ostream& operator<< | ( | std::ostream & | s, |
| const ai::recall_result & | r | ||
| ) |
Definition at line 1128 of file actions.cpp.
References ai::recall_result::do_describe(), and s.
| std::ostream& operator<< | ( | std::ostream & | s, |
| const ai::recruit_result & | r | ||
| ) |
Definition at line 1133 of file actions.cpp.
References ai::recruit_result::do_describe(), and s.
| std::ostream& operator<< | ( | std::ostream & | s, |
| const ai::stopunit_result & | r | ||
| ) |
Definition at line 1138 of file actions.cpp.
References ai::stopunit_result::do_describe(), and s.
| std::ostream& operator<< | ( | std::ostream & | s, |
| const ai::synced_command_result & | r | ||
| ) |
Definition at line 1143 of file actions.cpp.
References ai::synced_command_result::do_describe(), and s.