Example #1
0
 protected Track(TrackConfiguration trackConfiguration)
 {
     ThreatPositions = new Dictionary <T, int>();
     breakpoints     = trackConfiguration.TrackBreakpoints().ToDictionary(breakpoint => breakpoint.Position);
     sections        = trackConfiguration.TrackSections();
 }
Example #2
0
 internal Track(TrackConfiguration trackConfiguration)
 {
     Breakpoints        = trackConfiguration.TrackBreakpoints();
     Sections           = trackConfiguration.TrackSections();
     TrackConfiguration = trackConfiguration;
 }