}
public boolean shootEnemy(final Vector2 position, final Vector2 velocity) {
for(int i=0; i<3; i++) {
Body box = createCircle(BodyType.DynamicBody, 0.01f, 10000);
box.setBullet(true);
box.setTransform(position.x + i, position.y, 0);
box.setLinearVelocity(velocity.mul(1000));
bullets.add(new CannonBall(box, false));
box.setUserData(bullets.get(bullets.size-1));
}
if(configuration.sound) {
shoot.play();
}