Exemplo n.º 1
0
 /// <summary>
 /// Initializes the in-game objects so they can be managed using the API.
 /// </summary>
 protected void Initialize()
 {
     MemoryManager.Initialize(process);
     this.drivers = new Driver[6];
     for (int i = 0; i < 6; i++)
     {
         this.drivers[i] = new Driver(this, i);
     }
     active = true;
     new Thread(eventLoop).Start();
     initialized     = true;
     InitializedType = LEGORacersAPI.InitializedType.Both;
 }