Example #1
0
 public MatchHub(IMatchResourcesService matchResourcesService,
                 IPlayerResourcesService playerResourcesService,
                 IAlgorithmService algorithmService,
                 IMatchesManagerService matchesManagerService,
                 IMapper mapper,
                 IHostingEnvironment env)
 {
     this._matchResourcesService  = matchResourcesService;
     this._playerResourcesService = playerResourcesService;
     this._algorithmService       = algorithmService;
     this._matchesManagerService  = matchesManagerService;
     this._mapper = mapper;
     this._env    = env;
 }
Example #2
0
 public MatchController(IMatchesManagerService matchesManagerService,
                        IMatchResourcesService gameResourcesService)
 {
     this._matchesManagerService = matchesManagerService;
     this._gameResourcesService  = gameResourcesService;
 }