Added barrier collision detection. Barriers can absorb a certain number of shots before being destroyed.