KarmaEngine
Game Engine for practical learning and research purposes
|
Event triggered when the mouse button is released. More...
#include <MouseEvent.h>
Public Member Functions | |
MouseButtonReleasedEvent (int button) | |
A constructor. | |
std::string | ToString () const override |
String representation of the event. | |
![]() | |
int | GetMouseButton () const |
Getter for mouse button. | |
![]() | |
virtual EventType | GetEventType () const =0 |
Getter for event name (type) | |
virtual const char * | GetName () const =0 |
Getter for event type. | |
virtual int | GetCategoryFlags () const =0 |
Getter for category flags (enum EventCategory) | |
bool | IsInCategory (EventCategory category) |
Routine to see if the category of the Event is (or a part of) given category. | |
bool | IsHandled () const |
Getter for the m_Handled. | |
Event * | GetObjPointer () |
Getter for the pointer to the object. | |
Additional Inherited Members | |
![]() | |
MouseButtonEvent (int button) | |
![]() | |
int | m_Button |
![]() | |
bool | m_Handled = false |
Event triggered when the mouse button is released.
|
inline |
A constructor.
button | GLFW defined mouse button, signifying the button released |
|
inlineoverridevirtual |