Nymph Game Engine
Chaiscript based Game Engine
|
Class for mouse cursor event. More...
#include <mouse_cursor_event.h>
Public Member Functions | |
MouseCursorEvent (const glm::dvec2 &pos) | |
MouseCursorEvent constructor. More... | |
glm::dvec2 | getPosition () const noexcept |
Gets the position. More... | |
Public Member Functions inherited from Events::Event | |
Event (const EventType &type) | |
Event constructor. More... | |
EventType | getEventType () const |
Gets the event type. More... | |
Static Public Member Functions | |
static std::shared_ptr < MouseCursorEvent > | create (const glm::dvec2 &pos) |
Factory function. More... | |
Class for mouse cursor event.
|
inline |
MouseCursorEvent constructor.
[in] | pos | The position |
|
inlinestatic |
Factory function.
[in] | pos | The position |
Referenced by generated::getMouseCursorEventModule(), and Input::InputSystem::pollForInput().
|
inlinenoexcept |