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