Пример #1
0
 void explodePlayer(Player_Movement player)
 {
     if (alive_players == players.Count)
     {
         player.changePoints(-2);
     }
     if (players.Count > 4)
     {
         if (alive_players == players.Count - 1)
         {
             player.changePoints(-1);
         }
         else if (alive_players == 2)
         {
             player.changePoints(1);
         }
     }
     alive_players -= 1;
 }