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