private static List<TempTeam> InitiateTeams(List<CsgoTeam> teams) { List<TempTeam> tempList = new List<TempTeam>(); foreach (CsgoTeam team in teams) { TempTeam temp = new TempTeam(); temp.Points = 1000; temp.Id = team.Id; tempList.Add(temp); } return tempList; }
private static void CalculateMods(TempTeam first, TempTeam second) { first.Mod = (float)second.Points / (float)first.Points; second.Mod = (float)first.Points / (float)second.Points; }