public void LeftSideBarrierCarGetBack() { if (LeftSideBarrier.Car == null) { Notification.AllPlacesIsBusy(); } Move(LeftSideBarrier, FreeCars.Last()); }
public void RightSideBarrierCarGetToFreeCars() { if (RightSideBarrier.Car == null || LeftSideBarrier.Car != null) { Notification.RoadIsBusy(); } Barrier.Open(); Move(RightSideBarrier, FreeCars.Last()); CarCountUpdater(); }