Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
        /// <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);
        }