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