Exemplo n.º 1
0
        public static Team CreateTestTeam(string teamName, GameDiscipline discipline)
        {
            var team = new Team(teamName, discipline);

            team.AddPlayer(new Player("Kirill", "Abramenko", "DecadE", new  DateTime(1998, 08, 12), "CS"));
            team.AddPlayer(new Player("Danil", "Ivanov", "Hook", new DateTime(1995, 12, 05), "CS"));
            return(team);
        }
Exemplo n.º 2
0
        public static Team CreateTestTeamNull(string teamName, GameDiscipline discipline)
        {
            var team = new Team(teamName, discipline);

            return(team);
        }
Exemplo n.º 3
0
 public Team(string name, GameDiscipline gameDiscipline)
 {
     Name            = name;
     _gameDiscipline = gameDiscipline;
 }