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