Esempio n. 1
0
 public void Wicket(string method)
 {
     OnStrike.IsOut     = true;
     OnStrike.MethodOut = method;
     Bowler.GetWicket();
     SetBatsmen();
     Batting.CalcWickets();
 }
Esempio n. 2
0
 public void Wicket(string method, Player player)
 {
     player.IsOut     = true;
     player.MethodOut = method;
     if (method != "Run out")
     {
         Bowler.GetWicket();
     }
     SetBatsmen();
     Batting.CalcWickets();
 }