Exemple #1
0
 public GameService(IGameAccessor gameAccessor, IGameFactory gameFactory, IGameManager <GoFishGame> gameManager, IUserContextProvider userContextProvider)
 {
     _gameAccessor        = gameAccessor;
     _gameFactory         = gameFactory;
     _gameManager         = gameManager;
     _userContextProvider = userContextProvider;
 }
Exemple #2
0
 public PlayerEngine(
     IPlayerAccessor playerAccessor,
     IGameAccessor gameAccessor
     )
 {
     _playerAccessor = playerAccessor;
     _gameAccessor   = gameAccessor;
 }
Exemple #3
0
 public GameEngine(
     IGameAccessor gameAccessor,
     IPlayerAccessor playerAccessor,
     IQuestAccessor questAccessor,
     IGameCleanupQueue gameCleanupQueue
     )
 {
     _gameAccessor     = gameAccessor;
     _playerAccessor   = playerAccessor;
     _questAccessor    = questAccessor;
     _gameCleanupQueue = gameCleanupQueue;
 }
Exemple #4
0
 public IdlePlayerDetection(IAsyncEventEmitter <UserActivity> userActivityEvent, IGameManager <GoFishGame> gameManager, IGameAccessor gameAccessor)
 {
     _userActivityEvent = userActivityEvent;
     _gameManager       = gameManager;
     _gameAccessor      = gameAccessor;
 }
Exemple #5
0
 public HomeController(IGameAccessor gameProvider, IHubContext <GameHub> gameHub)
 {
     _gameProvider = gameProvider;
     _gameHub      = gameHub;
 }