public int Distance(Pos other) { return(Math.Abs(x - other.x) + Math.Abs(y - other.y)); }
public bool Equals(Pos other) { return(x == other.x && y == other.y); }
public int Distance(Pos other) { return(Math.Abs(x - other.x) + Math.Abs(y - other.y)); }
public bool Equals(Pos other) { return(x == other.x && y == other.y); }