public void AddBallon(Point Center) { Ballons b; b = new Ballons(Center, RADIUS); list.Add(b); }
public bool isTouching(Ballons b) { double distance = Math.Sqrt((Center.X - b.Center.X) * (Center.X - b.Center.X) + (Center.Y - b.Center.Y) * (Center.Y - b.Center.Y)); return(distance <= Radius + b.Radius); }