Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Input::KeyUpEvent Class Reference

Class for key up event. More...

#include <key_up_event.h>

Inheritance diagram for Input::KeyUpEvent:
Events::Event

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...
 

Detailed Description

Class for key up event.

Constructor & Destructor Documentation

Input::KeyUpEvent::KeyUpEvent ( const int  key)
inline

KeyUpEvent constructor.

Parameters
[in]keyThe key

Member Function Documentation

static std::shared_ptr<KeyUpEvent> Input::KeyUpEvent::create ( const int  key)
inlinestatic

Factory function.

Parameters
[in]keyThe key
Returns
Newly constructed KeyUpEvent

Referenced by generated::getKeyUpEventModule(), and Input::InputSystem::pollForInput().

int Input::KeyUpEvent::getKey ( ) const
inlinenoexcept

The documentation for this class was generated from the following file: