32 static std::shared_ptr<KeyUpEvent>
create(
const int key) {
return std::make_shared<KeyUpEvent>(key); }
33 int getKey() const noexcept {
return key; }
Class for event.
Definition: event.h:10
Definition: event_type.h:20
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