Nymph Game Engine
Chaiscript based Game Engine
|
Class for mouse button down event. More...
#include <mouse_button_down_event.h>
Public Member Functions | |
MouseButtonDownEvent (const int button) | |
MouseButtonDownEvent constructor. More... | |
int | getButton () const noexcept |
Gets the button. 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 < MouseButtonDownEvent > | create (const int button) |
Factory function. More... | |
Class for mouse button down event.
|
inline |
MouseButtonDownEvent constructor.
[in] | button | The button |
|
inlinestatic |
Factory function.
[in] | button | The button |
Referenced by generated::getMouseButtonDownEventModule(), and Input::InputSystem::pollForInput().
|
inlinenoexcept |