ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Mouse button pressed/released event
Public Member Functions | |
MouseButton | getMouseButton () const |
bool | isPressed () const |
![]() | |
auto | getPosition () const |
auto | getX () const |
auto | getY () const |
auto | getButtonsState () |
auto | getModifiers () const |
![]() | |
InputEventType | getType () const |
![]() | |
void | connect (const Signal::signal &name, const Signal::Handler &handler) |
void | connect (const Signal::signal &name, const function< void ()> &handler) |
void | emit (const Signal::signal &name, void *params=nullptr) |
virtual string | toString () const |
|
nodiscardinline |
Returns the mouse button
|
nodiscardinline |
Returns true is the button is pressed