75 virtual ~
Event() =
default;
Event(EventDispatcher *source, int type)
Construct from source and type.
EventDispatcher * source
Source of the event.
auto getSource() const -> EventDispatcher *
Get source of the Event.
Represent an event running on background.
int type
Type of the event.
Abstract class for dispatching Event.
auto getType() const -> int
Get type of the Event.