|
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 |
Public Member Functions inherited from InputEventMouse | |
| auto | getPosition () const |
| auto | getX () const |
| auto | getY () const |
| auto | getButtonsState () |
| auto | getModifiers () const |
Public Member Functions inherited from InputEvent | |
| InputEventType | getType () const |
Public Member Functions inherited from Object | |
| 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
1.7.0