public bool UdarilaLoptu(Lopta l1) { int d = (int)(Math.Pow(o.X - l1.o.X, 2) + Math.Pow(o.Y - l1.o.Y, 2)); return(d < (r + l1.r) * (r + l1.r)); }