mouseHit method
- MouseButton button
Checks if the specified mouse button
was pressed in the current frame.
Returns true
if the button was hit, false
otherwise.
Implementation
bool mouseHit(MouseButton button) {
return _mouseHit[button.index];
}