/// <summary> /// Determines if this BoundingCircle collides with a BoundingRectangle /// </summary> /// <param name="r">the BoundingRectangle</param> /// <returns>true on collision, false otherwise</returns> public bool CollidesWith(BoundingRectangle r) { return(CollisionHelper.Collides(r, this)); }
/// <summary> /// Determines if this BoundingCircle collides with a BoundingPoint /// </summary> /// <param name="p">the bounding point</param> /// <returns>true on collision, false otherwise</returns> public bool CollidesWith(BoundingPoint p) { return(CollisionHelper.Collides(this, p)); }
/// <summary> /// Determines if this BoundingCircle collides with a BoundingCircle /// </summary> /// <param name="c">the BoundingCircle</param> /// <returns>true on collision, false otherwise</returns> public bool CollidesWith(BoundingCircle c) { return(CollisionHelper.Collides(this, c)); }
/// <summary> /// Determines if this BoundingPoint collides with another BoundingPoint /// </summary> /// <param name="o">the other bounding point</param> /// <returns>true on collision, false otherwise</returns> public bool CollidesWith(BoundingPoint o) { return(CollisionHelper.Collides(o, this)); }