1 #ifndef MOUSE_BUTTON_DOWN_EVENT_H
2 #define MOUSE_BUTTON_DOWN_EVENT_H
32 static std::shared_ptr<MouseButtonDownEvent>
create(
const int button) {
return std::make_shared<MouseButtonDownEvent>(button); }
Class for event.
Definition: event.h:10
Definition: event_type.h:15
EventType
Event type enum that is used when passing events.
Definition: event_type.h:12
Event(const EventType &type)
Event constructor.
Definition: event.h:21