public static void SubscribeEvents() { Data.CurrentRace.Drivers_Changed += Visualization.OnDriversChanged; Data.CurrentRace.Race_Finished += Data.OnRaceFinished; Data.CurrentRace.Race_Finished += OnFinishedRace; Visualization.Initialize(); //Data.CurrentRace.Race_Finished += }
static void Main(string[] args) { Console.BackgroundColor = ConsoleColor.DarkBlue; Console.ForegroundColor = ConsoleColor.White; Console.CursorVisible = false; Data.Initialize(); Visualization.Initialize(); SubscribeEvents(); while (true) { Thread.Sleep(69); } }