22 #ifndef MAP_EVENT_HANDLER_H__
23 #define MAP_EVENT_HANDLER_H__
64 vector<event*> Events;
67 #endif // MAP_EVENT_HANDLER_H__
This is the base class for actual event handlers.
This class keeps track of map events, i.e.
Declares the base class for event handlers.
void register_event(event *evnt)
Register a map event with the event handler.
void raise_event(const event *evnt)
Raise one or more events in case the given 'trigger' matches.
void remove_event(event *evnt)
Removes the given event from the event handler.