public CommandService(TGameLogic gameLogic, ICommandNetworkService networkService) { _gameLogic = gameLogic; _networkService = networkService; }
public void Init() { _gameLogicMockup = Substitute.For <IGameLogicMockup>(); _networkService = Substitute.For <ICommandNetworkService>(); _commandService = new CommandService <IGameLogicMockup>(_gameLogicMockup, _networkService); }