/// <summary> /// A value indicating whether the hitbox intersects with another. /// </summary> /// <param name="dynamicHitbox">The other DynamicHitbox.</param> /// <returns>True if intersecting.</returns> public bool IntersectsWith(IDynamicHitbox dynamicHitbox) { return Bounds.Intersects(dynamicHitbox.Bounds); }
/// <summary> /// A value indicating whether the hitbox intersects with another. /// </summary> /// <param name="dynamicHitbox">The other DynamicHitbox.</param> /// <returns>True if intersecting.</returns> public bool IntersectsWith(IDynamicHitbox dynamicHitbox) { return(Bounds.Intersects(dynamicHitbox.Bounds)); }