#include "audio/sound_manager.hpp"
#include "badguy/badguy.hpp"
-#include "object/flower.hpp"
#include "object/bouncy_coin.hpp"
+#include "object/explosion.hpp"
+#include "object/flower.hpp"
#include "object/player.hpp"
#include "object/portable.hpp"
#include "sprite/sprite_manager.hpp"
try_break(player);
}
}
+ Explosion* explosion = dynamic_cast<Explosion*> (&other);
+ if(explosion && explosion->hurts()) {
+ try_break(player);
+ }
return Block::collision(other, hit);
}