Define the handlers for the game's events mechanism. More...
#include "config.hpp"#include "utils/smart_list.hpp"#include <boost/noncopyable.hpp>#include <boost/scoped_ptr.hpp>#include <boost/shared_ptr.hpp>#include <boost/weak_ptr.hpp>#include <set>#include <string>

Go to the source code of this file.
Classes | |
| class | game_events::event_handler |
| class | game_events::handler_list |
| This is a wrapper for a list of weak pointers to handlers. More... | |
| class | game_events::handler_list::iterator |
| Handler list iterators are rather limited. More... | |
Namespaces | |
| game_events | |
| Domain specific events. | |
Typedefs | |
| typedef boost::shared_ptr < event_handler > | game_events::handler_ptr |
| Shared pointer to handler objects. More... | |
| typedef std::vector< handler_ptr > | game_events::handler_vec |
| Storage of event handlers. More... | |
Define the handlers for the game's events mechanism.
Events might be units moving or fighting, or when victory or defeat occurs. A scenario's configuration file will define actions to take when certain events occur. This module is responsible for tracking these definitions.
Definition in file handlers.hpp.
1.8.8