コード例 #1
0
        private void RoundWin(Team winningteam, RichTextBox status)
        {
            winningteam.AddTeamScore();
            status.AppendText(Environment.NewLine + "Drużyna " + winningteam.Teamname + " wygrała rundę");
            _roundsplayed++;
            foreach (var team in teams)
            {
                team.RevivePlayers();
            }

        }
コード例 #2
0
 public void PickPlayer(Team killer, Team victim, RichTextBox status)
 {
     
     status.AppendText(Environment.NewLine + killer.PickPlayerToKill() + " zabił gracza " + victim.PickPlayerToDie());
     victim.MinusPlayersAlive();
 }