I’m making apong game, in a boolean method in the Paddle class I want to determine if the ball touching any of the two paddles, I’m struggling of finding the proper logic… here are the variables: // instance variables private Screen theScreen; private MyroRectangle theRectangle; private int topLeftX; private int topLeftY; // constants private final […]
The post Is the ball touching one of the paddles? appeared first on BlogoSfera.