![]() |
Blamite Game Engine - Strings
00425.12.30.24.2120.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Class representing a mouse movement event. More...
#include <MouseMoveEvent.h>
Inheritance diagram for MouseMoveEvent:
Collaboration diagram for MouseMoveEvent:Public Member Functions | |
| MouseMoveEvent (int _x, int _y) | |
| Constructs a new event. More... | |
| int | GetX () |
| Retrieves the X position of the mouse. More... | |
| int | GetY () |
| Retrieves the Y position of the mouse. More... | |
Public Member Functions inherited from BlamEvent | |
| BlamEvent (BlamEventType type) | |
| Constructs a new event with the specified type. More... | |
| BlamEventType | GetEventType () |
| Retrieves the type of the event. More... | |
| void | SetCancelled (bool cancel) |
| Sets whether or not the event should be cancelled. More... | |
| bool | IsCancelled () |
| Determines whether or not the event has been cancelled. More... | |
Class representing a mouse movement event.
This event is fired from the SDL_MOUSEMOTION event.
| MouseMoveEvent::MouseMoveEvent | ( | int | _x, |
| int | _y | ||
| ) |
Constructs a new event.
| _x | - The X position of the mouse. |
| _y | - The Y position of the mouse. |
| int MouseMoveEvent::GetX | ( | ) |
Retrieves the X position of the mouse.
| int MouseMoveEvent::GetY | ( | ) |
Retrieves the Y position of the mouse.