Arnold Engine
 
Loading...
Searching...
No Matches
AE::Events::KeyPressedEvent Class Reference

Event triggered when a keyboard key is pressed. More...

#include <KeyEvent.h>

Inheritance diagram for AE::Events::KeyPressedEvent:
AE::Events::KeyEvent AE::Events::Event

Public Member Functions

 KeyPressedEvent (int keyCode)
 
std::string ToString () const override
 
- Public Member Functions inherited from AE::Events::KeyEvent
int GetKeyCode () const
 
- Public Member Functions inherited from AE::Events::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 AE::Events::Event
bool Handled = false
 
- Protected Member Functions inherited from AE::Events::KeyEvent
 KeyEvent (int keyCode)
 
- Protected Attributes inherited from AE::Events::KeyEvent
int m_KeyCode
 

Detailed Description

Event triggered when a keyboard key is pressed.

Represents a key press event, providing information about which key was pressed. Inherits from KeyEvent to handle keyboard input processing.

Member Function Documentation

◆ ToString()

std::string AE::Events::KeyPressedEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from AE::Events::Event.


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