Fix app not being able to run
This commit is contained in:
@@ -60,7 +60,7 @@ public class Gameplay extends JPanel implements KeyListener, ActionListener {
|
||||
|
||||
//Ball
|
||||
g.setColor(Color.YELLOW);
|
||||
g.fillOval(ballposX, ballposY, 20, 20);
|
||||
g.fillOval(ballposX, ballposY, 15, 15);
|
||||
|
||||
//Win Condition
|
||||
if (totalBricks <= 0) {
|
||||
@@ -118,8 +118,8 @@ public class Gameplay extends JPanel implements KeyListener, ActionListener {
|
||||
ballYdir = -2;
|
||||
playerX = 310;
|
||||
score = 0;
|
||||
totalBricks = 21;
|
||||
map = new MapGenerator(3, 7);
|
||||
totalBricks = 48;
|
||||
map = new MapGenerator(4, 12);
|
||||
|
||||
repaint();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user