public bool Collision(ICollision obj) { var intersectsWith = obj.Rect.IntersectsWith(Rect); if (intersectsWith) { OnCollision(obj); obj.OnCollision(this); } return(intersectsWith); }