Nymph Game Engine
Chaiscript based Game Engine
|
Class for character typed event. More...
#include <character_typed_event.h>
Public Member Functions | |
CharacterTypedEvent (const unsigned char character) | |
CharacterTypedEvent constructor. More... | |
unsigned char | getCharacter () const noexcept |
Gets the character. 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 < CharacterTypedEvent > | create (const unsigned char character) |
Factory function. More... | |
Class for character typed event.
|
inline |
CharacterTypedEvent constructor.
[in] | character | The character |
|
inlinestatic |
Factory function.
[in] | character | The character |
Referenced by generated::getCharacterTypedEventModule(), and Input::InputSystem::pollForInput().
|
inlinenoexcept |