public GameService( GameContext gameContext, IHubContext <GameHub> gameHubContext, IPlayerConnectionManager playerConnectionManager) { _gameContext = gameContext; _gameHubContext = gameHubContext; _playerConnectionManager = playerConnectionManager; }
public GameHub(IPlayerConnectionManager playerConnectionManager) { _playerConnectionManager = playerConnectionManager; }