From a199c82fd81d8248e0c3d7e751e4423e19b33be0 Mon Sep 17 00:00:00 2001 From: Matt Low Date: Mon, 12 Nov 2018 21:24:02 +0400 Subject: [PATCH] Fixed ball DEFAULT_SPEED being used when BOOST_SPEED should have been --- core/src/com/me/brickbuster/entity/Ball.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/me/brickbuster/entity/Ball.java b/core/src/com/me/brickbuster/entity/Ball.java index 32fb261..94437f3 100644 --- a/core/src/com/me/brickbuster/entity/Ball.java +++ b/core/src/com/me/brickbuster/entity/Ball.java @@ -27,7 +27,7 @@ public class Ball extends Entity { public Ball(BrickBuster brickBuster) { 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