The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces
handlers.hpp File Reference

Define the handlers for the game's events mechanism. More...

#include "config.hpp"
#include <string>
Include dependency graph for handlers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  game_events::event_filter
 Represents a single filter condition on an event. More...
 
class  game_events::event_handler
 

Namespaces

 game_events
 Domain specific events.
 

Detailed Description

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.