Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public NibbleGameRating()
 {
     HomeRating = new NibbleRating();
     AwayRating = new NibbleRating();
 }