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

- Protected Member Functions inherited from pixelbullet::KeyEvent
 KeyEvent (const KeyCode keycode)
 
- Protected Attributes inherited from pixelbullet::KeyEvent
KeyCode key_code_
 

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: