Beispiel #1
0
 //End of round
 private void EndOfGame(IApiClient client)
 {
     if (RoundState.AttackerInfo.CurrentHealth <= 0)
     {
         client.DefenderWon();
         System.Console.Out.WriteLine("Round END");
     }
     else
     {
         client.AttackerWon();
         System.Console.Out.WriteLine("Attacker won!");
         System.Console.Out.WriteLine("Round END");
     }
 }
 //End of round
 private void EndOfGame(IApiClient client)
 {
     if (RoundState.AttackerInfo.CurrentHealth <= 0)
     {
         client.DefenderWon();
         System.Console.Out.WriteLine("Round END");
     }
     else
     {
         client.AttackerWon();
         System.Console.Out.WriteLine("Attacker won!");
         System.Console.Out.WriteLine("Round END");
     }
 }