public double getDistanceL1(BuffPoint2i other) { return(Math.Abs(other.getX() - getX()) + Math.Abs(other.getY() - getY())); }
public double getDistanceCuad(BuffPoint2i other) { return(Square(other.getX() - getX()) + Square(other.getY() - getY())); }