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