Fix app not being able to run

This commit is contained in:
2021-11-22 20:40:35 -05:00
parent a9f1bb3f6c
commit d76832aef9
8 changed files with 199 additions and 114 deletions

View File

@@ -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();
}