Nymph Game Engine
Chaiscript based Game Engine
|
Class for key up event. More...
#include <key_up_event.h>
Public Member Functions | |
KeyUpEvent (const int key) | |
KeyUpEvent constructor. More... | |
int | getKey () const noexcept |
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 < KeyUpEvent > | create (const int key) |
Factory function. More... | |
Class for key up event.
|
inline |
KeyUpEvent constructor.
[in] | key | The key |
|
inlinestatic |
Factory function.
[in] | key | The key |
Referenced by generated::getKeyUpEventModule(), and Input::InputSystem::pollForInput().
|
inlinenoexcept |
Referenced by generated::getKeyUpEventModule().