public Team GetTeam(TeamConfiguration configuration) { List <IFighter> fighters = new List <IFighter>(); foreach (EnemyConfiguration enemyConfiguration in configuration.Enemies) { fighters.Add(GetEnemy(enemyConfiguration)); } return(new Team(new MenuManager(new ConsoleInput(), new ConsoleOutput(), _menuFactory), fighters)); }
public BattlefieldConfiguration(TeamConfiguration teamConfiguration, TerrainInteractablesConfiguration terrainConfiguration = null) { TeamConfiguration = teamConfiguration; TerrainConfiguration = terrainConfiguration; }