public static bool IsAnyMouseReleased(out MB releasedButtons) { return(IsAnyMPressedInternal(_oldMS, _newMS, out releasedButtons)); }
private static bool IsMPressedInternal(MB buttons, in MouseState pressedState, in MouseState releasedState)
public static bool IsAnyMousePressed(out MB pressedButtons) { return(IsAnyMPressedInternal(_newMS, _oldMS, out pressedButtons)); }
public static bool IsAnyMouseUp(out MB pressedButtons) { return(GetMState(_newMS, MB.All, BS.Released, out pressedButtons)); }
public static bool IsMouseReleased(MB buttons) { return(IsMPressedInternal(buttons, in _oldMS, in _newMS)); }
public static bool IsMouseUp(MB buttons) { return(GetMState(_newMS, buttons, BS.Released)); }
public static bool IsMouseDown(MB buttons) { return(GetMState(_newMS, buttons, BS.Pressed)); }