code: @Deprecated
    public Point2 move(Direction4 direction) {
      return new Point2(x + direction.dx, y + direction.dy);
    }
docs: This method is deprecated so please use move method in Direction4. Returns the moved location
  from this position with the specified direction.
  
  @param direction the specified direction to move
  @return the moved location