Can anyone explain this theorem??? It doesn't seem to make sense:

If an infinite number of points in the plane are all separated by integer distances, then all the points lie on a straight line.