Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cursor_leave_event.h
Go to the documentation of this file.
1 #ifndef CURSOR_LEAVE_EVENT_H
2 #define CURSOR_LEAVE_EVENT_H
3 #include <glm/glm.hpp>
4 #include "events/event.h"
5 #include "events/event_type.h"
6 //= SCRIPTABLE
7 //= SCRIPTABLE BASES Event
8 
9 namespace Input {
14  public:
15  //= BEGIN SCRIPTABLE
16 
26  static std::shared_ptr<CursorLeaveEvent> create() { return std::make_shared<CursorLeaveEvent>(); }
27  //= END SCRIPTABLE
28  };
29 }
30 
31 #endif
static std::shared_ptr< CursorLeaveEvent > create()
Factory function.
Definition: cursor_leave_event.h:26
Class for event.
Definition: event.h:10
Class for cursor leave event.
Definition: cursor_leave_event.h:13
EventType
Event type enum that is used when passing events.
Definition: event_type.h:12
Definition: event_type.h:18
Event(const EventType &type)
Event constructor.
Definition: event.h:21
CursorLeaveEvent()
CusrorLeaveEvent constructor.
Definition: cursor_leave_event.h:20