Define the game's event mechanism. More...
#include "game_events/entity_location.hpp"
#include "game_events/handlers.hpp"
#include "config.hpp"
#include <string>
#include <sstream>
Go to the source code of this file.
Classes | |
struct | game_events::queued_event |
class | game_events::t_pump |
Namespaces | |
lg | |
game_events | |
Domain specific events. | |
Define the game's event 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 the processing of events.
Note that game events have nothing to do with SDL events, like mouse movement, keyboard events, etc. See events.hpp for how they are handled.
Definition in file pump.hpp.