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