Example #1
0
 /// <summary>
 /// Returns true if Circle c moving to location x, y will not collide with another Circle, false if it will collide.
 /// </summary>
 /// <param name="c">Circle to check for collision.</param>
 /// <param name="x">The new x-coordinate.</param>
 /// <param name="y">The new y-coordinate.</param>
 /// <returns><code>true</code> if the move is valid, <code>false</code> otherwise.</returns>
 public bool IsValidMove(T c, double x, double y)
 {
     return(_rootNode.IsValidMove(c, x, y));
 }