|
JNGL
Easy to use cross-platform 2D game library
|
Public Member Functions | |
| Vec2 | pos () const |
| std::optional< Down > | pressed (Vec2 objectPos) |
| calling this will result in all future calls of MouseInfo::cursors not returning this cursor | |
| Over (MouseInfo::Impl &) | |
Definition at line 63 of file MouseInfo.hpp.
| std::optional< Down > pressed | ( | Vec2 | objectPos | ) |
calling this will result in all future calls of MouseInfo::cursors not returning this cursor
objectPos will be used to calculate newPos