Fixed ball DEFAULT_SPEED being used when BOOST_SPEED should have been
This commit is contained in:
		@ -27,7 +27,7 @@ public class Ball extends Entity {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	public Ball(BrickBuster brickBuster) {
 | 
						public Ball(BrickBuster brickBuster) {
 | 
				
			||||||
		super(brickBuster,BrickBuster.WIDTH/2, Paddle.PADDLE_Y + Paddle.PADDLE_HEIGHT + RADIUS);
 | 
							super(brickBuster,BrickBuster.WIDTH/2, Paddle.PADDLE_Y + Paddle.PADDLE_HEIGHT + RADIUS);
 | 
				
			||||||
		this.speed = getBrickBuster().getBricks().size() > BLOCKS_FOR_BOOST? DEFAULT_SPEED : DEFAULT_SPEED;
 | 
							this.speed = getBrickBuster().getBricks().size() > BLOCKS_FOR_BOOST? DEFAULT_SPEED : BOOST_SPEED;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	@Override
 | 
						@Override
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user