|
SPARK
0.1.0
A general purpose game engine written in C++.
|
A class representing a mouse button pressed event. More...
#include <MouseEvents.h>
Public Member Functions | |
| MouseButtonPressedEvent (base::MouseCode button) | |
| Instantiates a new MouseButtonPressedEvent for the given mouse button. | |
Public Member Functions inherited from spark::events::MouseButtonEvent | |
| base::MouseCode | button () const |
| Gets the mouse button that triggered this event. | |
Public Member Functions inherited from spark::events::Event | |
| Event (const Event &other)=default | |
| Event (Event &&other) noexcept=default | |
| Event & | operator= (const Event &other)=default |
| Event & | operator= (Event &&other) noexcept=default |
| virtual EventType | eventType () const =0 |
| Gets the type of the event. | |
| virtual int | eventCategoryFlags () const =0 |
| Gets the category flags of the event. | |
| bool | isInCategory (const EventCategory &category) const |
| Checks if the event is in the specified category. | |
Public Member Functions inherited from spark::rtti::HasRtti | |
| HasRtti (const HasRtti &other)=default | |
| HasRtti (HasRtti &&other) noexcept=default | |
| HasRtti & | operator= (const HasRtti &other)=default |
| HasRtti & | operator= (HasRtti &&other) noexcept=default |
| virtual RttiBase & | rttiInstance () const =0 |
Additional Inherited Members | |
Public Attributes inherited from spark::events::Event | |
| bool | handled = false |
Protected Member Functions inherited from spark::events::MouseButtonEvent | |
| MouseButtonEvent (base::MouseCode button) | |
A class representing a mouse button pressed event.
|
explicit |
Instantiates a new MouseButtonPressedEvent for the given mouse button.
| button | The pressed mouse button. |