PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::input::MouseButtonEvent Class Reference
Inheritance diagram for pixelbullet::input::MouseButtonEvent:
pixelbullet::core::Event pixelbullet::input::MouseButtonPressedEvent pixelbullet::input::MouseButtonReleasedEvent

Public Member Functions

MouseCode mouse_button () 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

 MouseButtonEvent (MouseCode button)

Protected Attributes

MouseCode button_

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