예제 #1
0
 public void DragRace(DragStrip strip)
 {
     while (!strip.AtEnd)
     {
         try
         {
             Drive();
         }
         catch (Exception) { }
     }
 }
예제 #2
0
 public void DragRace(DragStrip strip)
 {
     while (!strip.AtEnd)
     {
         try
         {
             Drive();
         }
         catch (Exception) { }
     }
 }
예제 #3
0
 public void DragRace(DragStrip strip)
 {
     // Continue to drive until at end.
     while (!strip.AtEnd)
     {
         try
         {
             Drive();
         }
         catch (Exception) { }
     }
 }
예제 #4
0
 public void DragRace(DragStrip strip)
 {
     // Continue to drive until at end.
     while (!strip.AtEnd)
     {
         try
         {
             Drive();
         }
         catch (Exception) { }
     }
 }
예제 #5
0
 public void DragRace(DragStrip strip)
 {
     while (!strip.AtEnd)
     {
         try
         {
             Drive();
         }
         catch (Exception)
         {
             // Silently ignore any exceptions during racing. Just focus on winning.
             // The car will need a major service after the race anyways.
         }
     }
 }
예제 #6
0
 public void DragRace(DragStrip strip)
 {
     while (!strip.AtEnd)
     {
         try
         {
             Drive();
         }
         catch (Exception)
         {
             // Silently ignore any exceptions during racing. Just focus on winning.
             // The car will need a major service after the race anyways.
         }
     }
 }