SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::Events::Input::KeyReleasedEvent Class Reference

#include <KeyboardEvent.hpp>

Inheritance diagram for Sleak::Events::Input::KeyReleasedEvent:

Public Member Functions

 KeyReleasedEvent (const KeyCode keycode)
virtual EventType GetEventType () const override
virtual const char * GetName () const override
std::string ToString () const override
Public Member Functions inherited from Sleak::Events::Input::KeyEvent
virtual int GetCategoryFlags () const override
KeyCode GetKeyCode () const
std::string GetKeyStr () const
Public Member Functions inherited from Sleak::Event
 Event ()
virtual ~Event ()=default
bool IsInCategory (EventCategory category)

Static Public Member Functions

static EventType GetStaticType ()

Additional Inherited Members

Public Attributes inherited from Sleak::Event
bool Handled = false
Protected Member Functions inherited from Sleak::Events::Input::KeyEvent
 KeyEvent (const KeyCode keycode)
Protected Attributes inherited from Sleak::Events::Input::KeyEvent
KeyCode m_KeyCode

Detailed Description

Fired on key-up.

Definition at line 55 of file KeyboardEvent.hpp.

Constructor & Destructor Documentation

◆ KeyReleasedEvent()

Sleak::Events::Input::KeyReleasedEvent::KeyReleasedEvent ( const KeyCode keycode)
inline

Definition at line 58 of file KeyboardEvent.hpp.

Member Function Documentation

◆ GetEventType()

virtual EventType Sleak::Events::Input::KeyReleasedEvent::GetEventType ( ) const
inlineoverridevirtual

Implements Sleak::Event.

Definition at line 68 of file KeyboardEvent.hpp.

◆ GetName()

virtual const char * Sleak::Events::Input::KeyReleasedEvent::GetName ( ) const
inlineoverridevirtual

Implements Sleak::Event.

Definition at line 68 of file KeyboardEvent.hpp.

◆ GetStaticType()

EventType Sleak::Events::Input::KeyReleasedEvent::GetStaticType ( )
inlinestatic

Definition at line 68 of file KeyboardEvent.hpp.

◆ ToString()

std::string Sleak::Events::Input::KeyReleasedEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from Sleak::Event.

Definition at line 61 of file KeyboardEvent.hpp.