quick fix - first draw grid then ball
This commit is contained in:
parent
46e689dec3
commit
584d33ae07
@ -96,12 +96,12 @@ public class Field extends JPanel {
|
||||
// Setting the color for the following components
|
||||
g2.setColor(Constants.COLOR_COMPONENT);
|
||||
|
||||
// Calls the method for drawing the ball
|
||||
drawBall(g2);
|
||||
|
||||
// Calls the method for drawing the grid
|
||||
drawGrid(g2);
|
||||
|
||||
// Calls the method for drawing the ball
|
||||
drawBall(g2);
|
||||
|
||||
// Calls the method for drawing the bottom paddle
|
||||
drawPaddleBottom(g2);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user