public bool IsNeighbour(Coordinate other) { return(Math.Abs(other.X - X) <= 1 && Math.Abs(other.Y - Y) <= 1); }
public int DistanceTo(Coordinate other) { return(DistanceTo(other.X, other.Y)); }