BusinessLogic.Logic.Points.PointsCalculator.GiveEveryoneTwoPoints C# (CSharp) Method

GiveEveryoneTwoPoints() private method

private GiveEveryoneTwoPoints ( IList playerRanks, PointsScorecard>.Dictionary playerToPoints ) : void
playerRanks IList
playerToPoints PointsScorecard>.Dictionary
return void
        internal virtual void GiveEveryoneTwoPoints(
            IList<PlayerRank> playerRanks, 
            Dictionary<int, PointsScorecard> playerToPoints)
        {
            foreach (var playerRank in playerRanks)
            {
                playerToPoints.Add(playerRank.PlayerId,
                                   new PointsScorecard
                                   {
                                       BasePoints = DEFAULT_POINTS_PER_PLAYER_WHEN_EVERYONE_LOSES
                                   });
            }
        }