Mouse event manager.
More...
#include <Mouse.hpp>
◆ Button
◆ getCursorPosition()
| RAY::Vector2 RAY::Controller::Mouse::getCursorPosition |
( |
void |
| ) |
|
|
static |
- Returns
- A 2D vector holding the current position of the cursor
◆ isDown()
| bool RAY::Controller::Mouse::isDown |
( |
Button |
button | ) |
|
|
static |
- Returns
- true if Key is down on the keyboard
- Parameters
-
| Key | The keycode of the key |
◆ isPressed()
| bool RAY::Controller::Mouse::isPressed |
( |
Button |
button | ) |
|
|
static |
- Returns
- true if Key is pressed on the keyboard
- Parameters
-
| Key | The keycode of the key |
◆ isReleased()
| bool RAY::Controller::Mouse::isReleased |
( |
Button |
button | ) |
|
|
static |
- Returns
- true if Key is released on the keyboard
- Parameters
-
| Key | The keycode of the key |
◆ isUp()
| bool RAY::Controller::Mouse::isUp |
( |
Button |
button | ) |
|
|
static |
- Returns
- true if Key is up on the keyboard
- Parameters
-
| Key | The keycode of the key |
The documentation for this class was generated from the following files: