manhattan static method
dynamic
manhattan(
- dynamic dx,
- dynamic dy
Manhattan distance. @param {number} dx - Difference in x. @param {number} dy - Difference in y. @return {number} dx + dy
Implementation
static manhattan(dx, dy) {
return dx + dy;
}