Пример #1
0
 public static bool GetButtonDown(this MouseState mouseState, MouseButtons button)
 {
     return(mouseState.GetButtonPressed(button) && GameManager.PreviousMouseState.GetButtonReleased(button));
 }