예제 #1
0
        public Team GetTeam(FighterGrouping grouping)
        {
            List <IFighter> fighters = grouping.GetFighters();

            return(new Team(new MenuManager(new ConsoleInput(), new ConsoleOutput(), _menuFactory), fighters));
        }
예제 #2
0
 public Team(MenuManager menuManager, FighterGrouping grouping, params IFighter[] fighters) : this(menuManager, fighters.Concat(grouping.GetFighters()).ToArray())
 {
 }