+ float speed = dir == RIGHT ? BULLET_XM : -BULLET_XM;
+ physic.set_velocity_x(speed + xm);
+
+ if(type == FIRE_BONUS) {
+ sprite.reset(sprite_manager->create("images/objects/bullets/firebullet.sprite"));
+ } else if(type == ICE_BONUS) {
+ life_count = 10;
+ sprite.reset(sprite_manager->create("images/objects/bullets/icebullet.sprite"));
+ }