예제 #1
0
 public FormMain(IGameFactory gameFactory, IArtificialIntelligence artificialIntelligence, IMatchFactory matchFactory)
 {
     InitializeComponent();
     _gameFactory            = gameFactory;
     _artificialIntelligence = artificialIntelligence;
     _matchFactory           = matchFactory;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public Game(IMatchFactory matchFactory)
 {
     MatchFactory = matchFactory;
 }