Add Road#obstacles_part_of_a_collision(action)
to help construct features.
#17
Labels
Road#obstacles_part_of_a_collision(action)
to help construct features.
#17
Move code from lines 154 to 163 to this new method. You'll also have to create an updated
Car
, as is done on line 125, and loop over obstacles inself._obstacles
.The text was updated successfully, but these errors were encountered: