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

Public Member Functions

KeyCode key_code () const
Public Member Functions inherited from pixelbullet::core::Event
virtual EventType type () const =0
virtual const char * name () const =0
virtual EventCategory categories () const =0
virtual std::string to_string () const
bool is_in_category (EventCategory category) const
EventResult result () const noexcept
bool handled () const noexcept
bool consumed () const noexcept
void merge_result (const EventResult result) noexcept
void reset_result () noexcept

Protected Member Functions

 KeyEvent (KeyCode keycode)

Protected Attributes

KeyCode key_code_

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