예제 #1
0
 private void AdjustTeam(
     string team,
     NibbleRating rating)
 {
     if (!Ratings.ContainsKey(team))
     {
         Ratings.Add(team, new NibbleRating());
     }
     Ratings[team].Offence += rating.Offence;
     Ratings[team].Defence += rating.Defence;
 }
예제 #2
0
 public NibbleGameRating()
 {
     HomeRating = new NibbleRating();
     AwayRating = new NibbleRating();
 }