コード例 #1
0
 public void DragRace(DragStrip strip)
 {
     while (!strip.AtEnd)
     {
         try
         {
             Drive();
         }
         catch (Exception) { }
     }
 }
コード例 #2
0
ファイル: Car.cs プロジェクト: harpagornis/coding.abel.nu
 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
ファイル: Car.cs プロジェクト: harpagornis/coding.abel.nu
 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
ファイル: Car.cs プロジェクト: harpagornis/coding.abel.nu
 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.
         }
     }
 }