bukeelcin / Brick_Breaker

GROUP-A
0 stars 0 forks source link

Top corner of the floor #9

Open frkcrt opened 10 years ago

frkcrt commented 10 years ago

Top corner of the floor is useless in our brick breaker game but especially if you have last one or two brick to break top corner of the floor can determine whether you lose the game or not.

deniziskender commented 10 years ago

I have changed the coordinates of x location of ball. Please check it out. public void mouseDragged(MouseEvent e) { if (-20 < e.getX() - dx && e.getX() - dx < 500) floor.setX(e.getX() - dx); }

frkcrt commented 10 years ago

Yes, it looks like okay now.

deniziskender commented 10 years ago

Thank you for being careful, Mr. Çort.