diff --git a/core/src/com/me/brickbuster/entity/Ball.java b/core/src/com/me/brickbuster/entity/Ball.java index 79cc6a1..772b869 100644 --- a/core/src/com/me/brickbuster/entity/Ball.java +++ b/core/src/com/me/brickbuster/entity/Ball.java @@ -84,7 +84,9 @@ public class Ball extends Entity implements PhysicsBody, CollisionListener { ballFixture.density = 1f; ballFixture.filter.categoryBits = EntityType.BALL; - ballFixture.filter.maskBits = EntityType.BOUNDARY | EntityType.BRICK | EntityType.PADDLE | EntityType.POWER_UP; + ballFixture.filter.maskBits = EntityType.BOUNDARY | EntityType.BRICK + | EntityType.PADDLE | EntityType.POWER_UP + | EntityType.SHIELD; body = state.world.createBody(ballBody); body.createFixture(ballFixture);