Ejemplo n.º 1
0
 /// <summary>
 /// Tests for a collision between this and a BoundingRectangle
 /// </summary>
 /// <param name="other">The BoundingRectangle</param>
 /// <returns>True for collision, false otherwise</returns>
 public bool CollidesWith(BoundingRectangle other)
 {
     return(CollisionHelper.Collides(this, other));
 }