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