diff --git a/core/src/com/me/brickbuster/entity/Brick.java b/core/src/com/me/brickbuster/entity/Brick.java index 6321ca1..ac32922 100644 --- a/core/src/com/me/brickbuster/entity/Brick.java +++ b/core/src/com/me/brickbuster/entity/Brick.java @@ -78,6 +78,10 @@ public class Brick extends Entity implements PhysicsBody, CollisionListener { hit(); hitByBall = false; } + + if (getY() - BRICK_HEIGHT < 0) { + delete(); + } } @Override