public SpaceportDepartureBoard(ISpacelineLaunchInfoProvider provider) { this.provider = provider; LaunchList = provider.GetCurrentLaunches(); provider.Subscribe(this); running = true; }
public SpaceportDepartureBoard(ISpacelineLaunchInfoProvider provider) { this.provider = provider; LaunchList = provider.GetCurrentLaunches(); LaunchList.Sort((ax, ay) => ax.Destination.CompareTo(ay.Destination)); provider.Subscribe(this); running = true; }
public SpaceportDepartureBoard(ISpacelineLaunchInfoProvider provider) { LaunchList = provider.GetCurrentLaunches(); SortLaunches(); }