public FormMain(IGameFactory gameFactory, IArtificialIntelligence artificialIntelligence, IMatchFactory matchFactory) { InitializeComponent(); _gameFactory = gameFactory; _artificialIntelligence = artificialIntelligence; _matchFactory = matchFactory; }
public WarController(IMapper mapper, IRankingService rankingService, IWarRepository warRepo, IMatchFactory matchFactory, IMatchRepository matchRepository, IContestantRepository contestantRepository, IUserRepository userRepository, IVoteRepository voteRepository) { _mapper = mapper; _rankingService = rankingService; _warRepo = warRepo; _matchFactory = matchFactory; _matchRepository = matchRepository; _contestantRepository = contestantRepository; _userRepository = userRepository; _voteRepository = voteRepository; }
public Game(IMatchFactory matchFactory) { MatchFactory = matchFactory; }