JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
MouseInfo::Over Struct Reference

Public Member Functions

Vec2 pos () const
 
std::optional< Downpressed (Vec2 objectPos)
 calling this will result in all future calls of MouseInfo::cursors not returning this cursor
 
 Over (MouseInfo::Impl &)
 

Detailed Description

Definition at line 63 of file MouseInfo.hpp.

Member Function Documentation

◆ pressed()

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


The documentation for this struct was generated from the following file: