Added longer paddle powerup, fixed issues with sticky paddle bouncing
This commit is contained in:
@ -39,6 +39,9 @@ public class BrickBuster extends ApplicationAdapter {
|
||||
if (MathUtils.randomBoolean(0.08f)) {
|
||||
powerUpType = GluePowerUp.class;
|
||||
}
|
||||
else if (MathUtils.randomBoolean(0.25f)) {
|
||||
powerUpType = LongerPaddlePowerUp.class;
|
||||
}
|
||||
bricks.add(new Brick(this, powerUpType, x, HEIGHT - y));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user