コード例 #1
0
 public bool IsDown(MouseButton button)
 {
     return(mouseState.IsKeyDown(button));
 }
コード例 #2
0
 public bool IsReleased(MouseButton button)
 {
     return(oldMouseState.IsKeyDown(button) && mouseState.IsKeyUp(button));
 }