Nymph Game Engine
Chaiscript based Game Engine
|
Class for mouse scroll event. More...
#include <mouse_scroll_event.h>
Public Member Functions | |
MouseScrollEvent (const glm::dvec2 &offset) | |
MouseScrollEvent 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 < MouseScrollEvent > | create (const glm::dvec2 &offset) |
Factory function. More... | |
Class for mouse scroll event.
|
inline |
MouseScrollEvent constructor.
[in] | offset | The offset |
|
inlinestatic |
Factory function.
[in] | offset | The offset |
Referenced by generated::getMouseScrollEventModule(), and Input::InputSystem::pollForInput().
|
inlinenoexcept |