示例#1
0
 public override void TransitionToState(CarState newState, Pothole pothole, Action potholeWatcher)
 {
     newState.SetPothole(pothole, potholeWatcher);
     base.TransitionToState(newState);
 }