/// <summary> /// WARNING! Adding spans during runtime is not supported since they will not be saved in the database. /// This function is only used for testing. /// </summary> public void CreateTimetableSpanInternal(GameTime pStartTime, GameTime pEndTime, TimetableBehaviour pBehaviour) { TimetableSpan span = new TimetableSpan() { startTime = pStartTime, endTime = pEndTime, behaviour = pBehaviour }; _timetableSpans.Add(span); }