PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::KeyPressedEvent Class Reference
Inheritance diagram for PixelBullet::KeyPressedEvent:
PixelBullet::KeyEvent PixelBullet::Event

Public Member Functions

 KeyPressedEvent (const KeyCode keycode, bool isRepeat=false)
 
bool IsRepeat () const
 
std::string ToString () const override
 
- Public Member Functions inherited from PixelBullet::KeyEvent
KeyCode GetKeyCode () const
 
- Public Member Functions inherited from PixelBullet::Event
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
bool IsInCategory (EventCategory category) const
 

Additional Inherited Members

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

Member Function Documentation

◆ ToString()

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

Reimplemented from PixelBullet::Event.


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