Just™ Game Engine
Public Member Functions | List of all members
jng::KeyPressEvent Class Reference

#include <key_events.hpp>

Inheritance diagram for jng::KeyPressEvent:
jng::KeyEvent jng::Event

Public Member Functions

 KeyPressEvent (Key::Code keyCode, bool isRepeat)
 
bool isRepeat () const
 
- Public Member Functions inherited from jng::KeyEvent
Key::Code getKeyCode () const
 
- Public Member Functions inherited from jng::Event
virtual ~Event ()=default
 
virtual EventType getType () const =0
 
virtual const char * getName () const =0
 
virtual std::string to_string () const
 
bool isHandled () const
 

Additional Inherited Members

- Protected Member Functions inherited from jng::KeyEvent
 KeyEvent (Key::Code keyCode)
 
- Protected Attributes inherited from jng::KeyEvent
Key::Code m_keyCode
 
- Protected Attributes inherited from jng::Event
bool m_handled = false
 

Constructor & Destructor Documentation

◆ KeyPressEvent()

jng::KeyPressEvent::KeyPressEvent ( Key::Code  keyCode,
bool  isRepeat 
)
inline

Member Function Documentation

◆ isRepeat()

bool jng::KeyPressEvent::isRepeat ( ) const
inline

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