I\'m trying to make a pong game using JavaFX and I\'ve decided to use Point2D for the paddle and ball positions.
I created this method to check for wall collisions