Quantcast
Channel: BlogoSfera » WIDTH
Viewing all articles
Browse latest Browse all 48

Is the ball touching one of the paddles?

$
0
0

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.


Viewing all articles
Browse latest Browse all 48

Latest Images

Trending Articles





Latest Images