Пример #1
0
 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 +=
 }
Пример #2
0
        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);
            }
        }