Example #1
0
 public void reset()
 {
     this.Clock     = null;
     this.PlayerCar = null;
     this.Ball      = null;
     ap.Disengage();
 }
Example #2
0
 private void toggleAutopilot(object sender, EventArgs e)
 {
     if (autoPilot != null)
     {
         if (autoPilotState)
         {
             autoPilotState = false;
             autoPilot.Disengage();
         }
         else
         {
             autoPilotState = true;
             autoPilot.Engage();
         }
     }
 }