The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces
stage.hpp File Reference

Composite AI stages. More...

#include "ai/composite/component.hpp"
#include "ai/composite/contexts.hpp"
Include dependency graph for stage.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ai::stage
class  ai::idle_stage
class  ai::stage_factory
class  ai::register_stage_factory< STAGE >


 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

Composite AI stages.

Definition in file stage.hpp.