1 #ifndef MOUSE_CURSOR_EVENT_H
2 #define MOUSE_CURSOR_EVENT_H
32 static std::shared_ptr<MouseCursorEvent>
create(
const glm::dvec2& pos) {
return std::make_shared<MouseCursorEvent>(pos); }
Class for event.
Definition: event.h:10
Definition: event_type.h:13
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