public Team Build() { var team = new Team(name, strategy); Position[] positions = { Position.Goalkeeper, Position.RightBack, Position.RightCenterBack, Position.LeftCenterBack, Position.LeftBack, Position.RightMidfielder, Position.RightCenterMidfielder, Position.LeftCenterMidfielder, Position.LeftMidfielder, Position.RightStriker, Position.LeftStriker }; for (int i = 1; i <= 11; i++) { team.AddSquadPlayer(i, "Player " + i, positions[i - 1], skills, skills, skills); } return team; }