Enemy attacks the player and destroys the obstacles

thank you