Esempio n. 1
0
        public int RateTeam(NflTeam team)
        {
            //  Defensive team ratings
            team.ProjectNextWeek();
            //  Sacks are worth 3 points each
            int sackPoints = team.ProjectedSacks * 3;
            //  Interceptions are worth 6 points each
            int intPoints = team.ProjectedSteals * 6;
            team.Points = sackPoints + intPoints;

            return team.Points;
        }
Esempio n. 2
0
        public int RateTeam(NflTeam team)
        {
            //  Defensive team ratings
            team.ProjectNextWeek();
            //  Sacks are worth 3 points each
            int sackPoints = team.ProjectedSacks * 3;
            //  Interceptions are worth 6 points each
            int intPoints = team.ProjectedSteals * 6;

            team.Points = sackPoints + intPoints;

            return(team.Points);
        }