Beispiel #1
0
 void HandleTargetMarkerReached(object sender, TargetReachedEventArgs args)
 {
     if (args.Target == TargetIndex)
     {
         if (covers.Count > args.Target)
         {
             CurrentCover = covers[(int)args.Target];
         }
         else
         {
             CurrentCover = null;
         }
     }
 }
 void HandleTargetMarkerReached(object sender, TargetReachedEventArgs args)
 {
     if (args.Target==TargetIndex) {
         if (covers.Count > args.Target) {
             CurrentCover = covers[(int) args.Target];
         } else {
             CurrentCover = null;
         }
     }
 }