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

Base class for keyboard input events. More...

#include <KeyEvent.h>

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

Public Member Functions

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
 
virtual std::string ToString () const
 
bool IsInCategory (EventCategory category)
 

Protected Member Functions

 KeyEvent (int keyCode)
 

Protected Attributes

int m_KeyCode
 

Additional Inherited Members

- Public Attributes inherited from AE::Events::Event
bool Handled = false
 

Detailed Description

Base class for keyboard input events.

Abstract base class that provides common functionality for all keyboard-related events. Stores and provides access to the keycode of the affected key.


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