Chebyshev ruler distance between two cells: the king-move count, a diagonal costing one step.
The counterpart to euclidean above for grid movement and range, where a diagonal is a
single step rather than 1.41 cells; roguelikechebyshevDistance is this same arithmetic through its own Step type.
Chebyshev ruler distance between two cells: the king-move count, a diagonal costing one step.
The counterpart to
euclideanabove for grid movement and range, where a diagonal is a single step rather than 1.41 cells;roguelikechebyshevDistanceis this same arithmetic through its ownSteptype.