Beispiel #1
0
 /// <summary>
 ///   Return true if specified keyboard key is pressed, otherwise false
 /// </summary>
 /// <param name="button">Mouse button to check</param>
 public bool IsMousePressed(string button)
 {
     return(_map.CheckMouseButton(_mouseState, button));
 }