private bool ParticipantArrivedAtPauseStop(Participant participant, PauseStopBase pauseStop) { if (participant.RaceProgress < pauseStop.PauseStopLocationInRace) { return(false); } float length = Math.Abs(participant.RaceProgress - pauseStop.PauseStopLocationInRace); if (length < 1) { return(true); } else { return(false); } }
public ParticipantPausing(Participant Participant, PauseStopBase PauseStop) { this.Participant = Participant; this.PauseStop = PauseStop; }
public NewPauseStop(PauseStopBase PauseStop) { this.PauseStop = PauseStop; }