Exemple #1
0
 /// <summary>
 /// Detects collisions between this BoundingRectangle and a BoundingCircle
 /// </summary>
 /// <param name="r">This BoundingRectangle</param>
 /// <param name="c">The BoundingCircle</param>
 /// <returns>true if there is a collision, false otherwise</returns>
 public static bool CollidesWith(this BoundingRectangle r, BoundingCircle c)
 {
     return(c.CollidesWith(r));
 }