Karma Engine
Loading...
Searching...
No Matches
Karma::KeyPressedEvent Class Reference
Inheritance diagram for Karma::KeyPressedEvent:
Collaboration diagram for Karma::KeyPressedEvent:

Public Member Functions

 KeyPressedEvent (int keycode, int repeatCount)
 
int GetRepeatCount () const
 
std::string ToString () const override
 
- Public Member Functions inherited from Karma::KeyEvent
int GetKeyCode () const
 
- Public Member Functions inherited from Karma::Event
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
bool IsInCategory (EventCategory category)
 
bool IsHandled () const
 
EventGetObjPointer ()
 

Additional Inherited Members

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

Member Function Documentation

◆ ToString()

std::string Karma::KeyPressedEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from Karma::Event.


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