Validate that the distance between two coordinate points is less than or equal to one grid space.
True if the two points are within a single grid space, false otherwise.
The x coordinate of the first point.
The y coordinate of the first point.
The x2 coordinate of the second point.
The y2 coordinate of the second point.
Generated using TypeDoc
Validate that the distance between two coordinate points is less than or equal to one grid space.
Returns
True if the two points are within a single grid space, false otherwise.