Elevate Engine 1
Loading...
Searching...
No Matches
Elevate::KeyReleasedEvent Class Reference

#include <KeyEvent.h>

Inheritance diagram for Elevate::KeyReleasedEvent:
Elevate::KeyEvent Elevate::Event

Public Member Functions

 KeyReleasedEvent (int keycode)
 
std::string ToString () const override
 
- Public Member Functions inherited from Elevate::KeyEvent
int GetKeyCode () const
 
- Public Member Functions inherited from Elevate::Event
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
bool IsInCategory (EventCategory category)
 

Additional Inherited Members

- Public Attributes inherited from Elevate::Event
bool Handled = false
 
- Protected Member Functions inherited from Elevate::KeyEvent
 KeyEvent (int keycode)
 
- Protected Attributes inherited from Elevate::KeyEvent
int m_KeyCode
 
- Protected Attributes inherited from Elevate::Event
bool m_Handled = false
 

Detailed Description

Definition at line 41 of file KeyEvent.h.

Constructor & Destructor Documentation

◆ KeyReleasedEvent()

Elevate::KeyReleasedEvent::KeyReleasedEvent ( int  keycode)
inline

Definition at line 44 of file KeyEvent.h.

45 : KeyEvent(keycode) {}
KeyEvent(int keycode)
Definition KeyEvent.h:14

Member Function Documentation

◆ ToString()

std::string Elevate::KeyReleasedEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from Elevate::Event.

Definition at line 47 of file KeyEvent.h.

48 {
49 std::stringstream ss;
50 ss << "KeyReleasedEvent: " << m_KeyCode;
51 return ss.str();
52 }

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