Exemple #1
0
 public void AddTeam(TeamObject team)
 {
     if (!TeamsByType.ContainsKey(team.TeamType))
     {
         TeamsByType.Add(team.TeamType, new List <TeamObject>());
     }
     TeamsByType[team.TeamType].Add(team);
 }
Exemple #2
0
 public void RemoveTeam(TeamObject team)
 {
     TeamsByType[team.TeamType].Remove(team);
 }
Exemple #3
0
 public TeamObject(TeamObject teamsdb)
 {
     TeamSize = teamsdb.TeamSize;
     TeamTask = teamsdb.TeamTask;
 }