public FairTeamsController(ITeamAssigner teamAssigner, SteamworksApi steamworksApi, SteamUserRepository userRepository, ILogger <FairTeamsController> logger) { myAssigner = teamAssigner; mySteamworksApi = steamworksApi; myUserRepository = userRepository; myLogger = logger; }
public TeamCreator(IGameObject gameObject, ITeamInstantiator teamInstantiator) : base(gameObject) { this.instantiator = teamInstantiator; ITeam team1 = instantiateTeam("Team 1", "ImageTarget1"); ITeam team2 = instantiateTeam("Team 2", "ImageTarget2"); Assigner = new TeamAssigner(new[] { team1, team2 }); }